Ignore YouTube mix when searching
- We can't extract them properly (at least for now)
This commit is contained in:
@@ -110,7 +110,8 @@ public class YoutubeSearchEngine extends SearchEngine {
|
|||||||
collector.commit(new YoutubeStreamInfoItemExtractor(el));
|
collector.commit(new YoutubeStreamInfoItemExtractor(el));
|
||||||
} else if ((el = item.select("div[class*=\"yt-lockup-channel\"]").first()) != null) {
|
} else if ((el = item.select("div[class*=\"yt-lockup-channel\"]").first()) != null) {
|
||||||
collector.commit(new YoutubeChannelInfoItemExtractor(el));
|
collector.commit(new YoutubeChannelInfoItemExtractor(el));
|
||||||
} else if ((el = item.select("div[class*=\"yt-lockup-playlist\"]").first()) != null) {
|
} else if ((el = item.select("div[class*=\"yt-lockup-playlist\"]").first()) != null &&
|
||||||
|
item.select(".yt-pl-icon-mix").isEmpty()) {
|
||||||
collector.commit(new YoutubePlaylistInfoItemExtractor(el));
|
collector.commit(new YoutubePlaylistInfoItemExtractor(el));
|
||||||
} else {
|
} else {
|
||||||
// noinspection ConstantConditions
|
// noinspection ConstantConditions
|
||||||
|
|||||||
Reference in New Issue
Block a user