Skip to content

Commit 89f8678

Browse files
committed
Fix age restriction test - make fields NOT STATIC
1 parent 4b09282 commit 89f8678

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,9 +546,9 @@ public String getErrorMessage() {
546546
private static final String GET_VIDEO_INFO_URL = "https://www.youtube.com/get_video_info?video_id=" + "%s" +
547547
"&el=info&ps=default&eurl=&gl=US&hl=en";
548548

549-
private static volatile String decryptionCode = "";
549+
private volatile String decryptionCode = "";
550550

551-
private static String pageHtml = null;
551+
private String pageHtml = null;
552552

553553
private String getPageHtml(Downloader downloader) throws IOException, ExtractionException{
554554
if (pageHtml == null) {

0 commit comments

Comments
 (0)