Change comment
This commit is contained in:
parent
f6088c4fc1
commit
d1cd341592
1 changed files with 2 additions and 2 deletions
|
@ -68,9 +68,9 @@ public class YoutubeChannelInfoItemExtractor implements ChannelInfoItemExtractor
|
||||||
}
|
}
|
||||||
} catch(Exception ignored) {}
|
} catch(Exception ignored) {}
|
||||||
|
|
||||||
|
// fallback method for channels without "Subscribe" button (or just in case yt changes things)
|
||||||
|
// provides an url with "/user/NAME", inconsistent with stream and channel extractor: tests will fail
|
||||||
try {
|
try {
|
||||||
// fallback method just in case youtube changes things; it should never run and tests will fail
|
|
||||||
// provides an url with "/user/NAME", that is inconsistent with stream and channel extractor
|
|
||||||
return el.select("a[class*=\"yt-uix-tile-link\"]").first()
|
return el.select("a[class*=\"yt-uix-tile-link\"]").first()
|
||||||
.attr("abs:href");
|
.attr("abs:href");
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
Loading…
Reference in a new issue