Skip to content

Commit 0a3422a

Browse files
gzsomborTobiGr
authored andcommitted
Fix invalid jsoup query
1 parent 8e53fda commit 0a3422a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/extractors/YoutubeStreamExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ public void onFetchPage(@Nonnull Downloader downloader) throws IOException, Extr
697697

698698
final String playerUrl;
699699
// Check if the video is age restricted
700-
if (!doc.select("meta[property=\"og:restrictions:age\"").isEmpty()) {
700+
if (!doc.select("meta[property=\"og:restrictions:age\"]").isEmpty()) {
701701
final EmbeddedInfo info = getEmbeddedInfo();
702702
final String videoInfoUrl = getVideoInfoUrl(getId(), info.sts);
703703
final String infoPageResponse = downloader.get(videoInfoUrl, getExtractorLocalization()).responseBody();

0 commit comments

Comments
 (0)