Skip to content

Commit 890cbba

Browse files
committed
Update PaidContent exception
1 parent da3cfa9 commit 890cbba

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,8 @@ public void onFetchPage(@Nonnull final Downloader downloader)
759759
if (reason.equals("This video requires payment to watch.")) {
760760
throw new PaidContentException("This video is a paid video");
761761
}
762-
if (reason.equals("Join this channel to get access to members-only content like this video, and other exclusive perks.")) {
762+
if (reason.equals("Join this channel to get access to members-only content like this video, and other exclusive perks.") ||
763+
reason.equals("Join this channel to get access to members-only content like this video and other exclusive perks.")) {
763764
throw new PaidContentException("This video is only available for members of the channel of this video");
764765
}
765766
if (reason.equals("Video unavailable")) {

0 commit comments

Comments
 (0)