Fix age restriction test - make fields NOT STATIC

This commit is contained in:
Coffeemakr 2017-11-30 11:20:49 +01:00
parent 4b092828db
commit 89f8678912
No known key found for this signature in database
GPG key ID: 3F35676D8FF6E743

View file

@ -546,9 +546,9 @@ public class YoutubeStreamExtractor extends StreamExtractor {
private static final String GET_VIDEO_INFO_URL = "https://www.youtube.com/get_video_info?video_id=" + "%s" +
"&el=info&ps=default&eurl=&gl=US&hl=en";
private static volatile String decryptionCode = "";
private volatile String decryptionCode = "";
private static String pageHtml = null;
private String pageHtml = null;
private String getPageHtml(Downloader downloader) throws IOException, ExtractionException{
if (pageHtml == null) {