Revert change which I accidentally committed while fixing the decryption
function in 7b72fd2a7d
This commit is contained in:
parent
f8d117f6cd
commit
033a9fb8e3
|
@ -720,8 +720,7 @@ public class YoutubeStreamExtractor extends StreamExtractor {
|
|||
|
||||
final String playerUrl;
|
||||
// Check if the video is age restricted
|
||||
Elements e = doc.select("meta[property=\"og:restrictions:age\"]");
|
||||
if (!e.isEmpty()) {
|
||||
if (!doc.select("meta[property=\"og:restrictions:age\"]").isEmpty()) {
|
||||
final EmbeddedInfo info = getEmbeddedInfo();
|
||||
final String videoInfoUrl = getVideoInfoUrl(getId(), info.sts);
|
||||
final String infoPageResponse = downloader.get(videoInfoUrl, getExtractorLocalization()).responseBody();
|
||||
|
|
Loading…
Reference in New Issue