Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
lasers
NewPipeExtractor
Commits
13fab098
Commit
13fab098
authored
Sep 08, 2017
by
Mauricio Colli
Browse files
Fix encrypted signature error
- Closes #29
parent
44c80e68
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeStreamExtractor.java
View file @
13fab098
...
...
@@ -682,10 +682,10 @@ public class YoutubeStreamExtractor extends StreamExtractor {
Map
<
String
,
ItagItem
>
urlAndItags
=
new
LinkedHashMap
<>();
String
encodedUrlMap
=
""
;
if
(
videoInfoPage
!=
null
&&
videoInfoPage
.
containsKey
(
encodedUrlMapKey
))
{
encodedUrlMap
=
videoInfoPage
.
get
(
encodedUrlMapKey
);
}
else
if
(
playerArgs
!=
null
&&
playerArgs
.
isString
(
encodedUrlMapKey
))
{
if
(
playerArgs
!=
null
&&
playerArgs
.
isString
(
encodedUrlMapKey
))
{
encodedUrlMap
=
playerArgs
.
getString
(
encodedUrlMapKey
,
""
);
}
else
if
(
videoInfoPage
!=
null
&&
videoInfoPage
.
containsKey
(
encodedUrlMapKey
))
{
encodedUrlMap
=
videoInfoPage
.
get
(
encodedUrlMapKey
);
}
for
(
String
url_data_str
:
encodedUrlMap
.
split
(
","
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment