parent
44c80e68db
commit
13fab09810
1 changed files with 3 additions and 3 deletions
|
@ -682,10 +682,10 @@ public class YoutubeStreamExtractor extends StreamExtractor {
|
||||||
Map<String, ItagItem> urlAndItags = new LinkedHashMap<>();
|
Map<String, ItagItem> urlAndItags = new LinkedHashMap<>();
|
||||||
|
|
||||||
String encodedUrlMap = "";
|
String encodedUrlMap = "";
|
||||||
if (videoInfoPage != null && videoInfoPage.containsKey(encodedUrlMapKey)) {
|
if (playerArgs != null && playerArgs.isString(encodedUrlMapKey)) {
|
||||||
encodedUrlMap = videoInfoPage.get(encodedUrlMapKey);
|
|
||||||
} else if (playerArgs != null && playerArgs.isString(encodedUrlMapKey)) {
|
|
||||||
encodedUrlMap = playerArgs.getString(encodedUrlMapKey, "");
|
encodedUrlMap = playerArgs.getString(encodedUrlMapKey, "");
|
||||||
|
} else if (videoInfoPage != null && videoInfoPage.containsKey(encodedUrlMapKey)) {
|
||||||
|
encodedUrlMap = videoInfoPage.get(encodedUrlMapKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (String url_data_str : encodedUrlMap.split(",")) {
|
for (String url_data_str : encodedUrlMap.split(",")) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue