File tree Expand file tree Collapse file tree
extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -388,8 +388,7 @@ public static OffsetDateTime parseDateFrom(final String textualUploadDate)
388388 * @return Whether given id belongs to a YouTube Mix
389389 */
390390 public static boolean isYoutubeMixId (@ Nonnull final String playlistId ) {
391- return playlistId .startsWith ("RD" )
392- && !isYoutubeMusicMixId (playlistId );
391+ return playlistId .startsWith ("RD" );
393392 }
394393
395394 /**
Original file line number Diff line number Diff line change @@ -110,8 +110,7 @@ public ChannelExtractor getChannelExtractor(final ListLinkHandler linkHandler) {
110110
111111 @ Override
112112 public PlaylistExtractor getPlaylistExtractor (final ListLinkHandler linkHandler ) {
113- if (YoutubeParsingHelper .isYoutubeMixId (linkHandler .getId ())
114- && !YoutubeParsingHelper .isYoutubeMusicMixId (linkHandler .getId ())) {
113+ if (YoutubeParsingHelper .isYoutubeMixId (linkHandler .getId ())) {
115114 return new YoutubeMixPlaylistExtractor (this , linkHandler );
116115 } else {
117116 return new YoutubePlaylistExtractor (this , linkHandler );
You can’t perform that action at this time.
0 commit comments