Real fix of the fetch of the JS player at each the signatureTimestamp is required
The strings playerJsUrl, sts and playerCode are now static in order to don't fetch again the JavaScript player at each time the signatureTimestamp is needed.
This commit is contained in:
parent
e97a685989
commit
8c1c7281b0
|
@ -93,11 +93,11 @@ public class YoutubeStreamExtractor extends StreamExtractor {
|
|||
@Nullable
|
||||
private static String cachedDeobfuscationCode = null;
|
||||
@Nullable
|
||||
private String playerJsUrl = null;
|
||||
private static String playerJsUrl = null;
|
||||
@Nullable
|
||||
private String sts = null;
|
||||
private static String sts = null;
|
||||
@Nullable
|
||||
private String playerCode = null;
|
||||
private static String playerCode = null;
|
||||
|
||||
@Nonnull
|
||||
private final Map<String, String> videoInfoPage = new HashMap<>();
|
||||
|
|
Loading…
Reference in New Issue