Merge pull request #57 from karyogamy/channel_extractor_fix

Fix channel extractor error
This commit is contained in:
Christian Schabesberger
2017-12-30 01:35:29 +01:00
committed by GitHub

View File

@@ -57,7 +57,7 @@ public class ChannelInfo extends ListInfo {
public static ChannelInfo getInfo(StreamingService service, String url) throws IOException, ExtractionException { public static ChannelInfo getInfo(StreamingService service, String url) throws IOException, ExtractionException {
ChannelExtractor extractor = service.getChannelExtractor(url); ChannelExtractor extractor = service.getChannelExtractor(url);
extractor.fetchPage(); extractor.fetchPage();
return getInfo(service.getChannelExtractor(url)); return getInfo(extractor);
} }
public static ChannelInfo getInfo(ChannelExtractor extractor) throws ParsingException { public static ChannelInfo getInfo(ChannelExtractor extractor) throws ParsingException {