mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-04-29 08:20:34 +05:30
Ignore YouTube mix when searching
- We can't extract them properly (at least for now)
This commit is contained in:
parent
390e5727d6
commit
bd3db34092
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user