horrible hack nextinfoitem for channel

This commit is contained in:
Christian Schabesberger 2018-01-06 20:24:55 +01:00
parent 5f2d0cf6b5
commit 9de63f8c0a

View File

@ -169,6 +169,10 @@ public class YoutubeChannelExtractor extends ChannelExtractor {
}
StreamInfoItemCollector collector = new StreamInfoItemCollector(getServiceId());
//TODO: This is a horrible hack and should be fixed (the whole F*** architecture of ListExtractor is broken)
onFetchPage(NewPipe.getDownloader());
setupNextStreamsAjax(NewPipe.getDownloader());
collectStreamsFrom(collector, nextStreamsAjax.select("body").first());