Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jamal Dahbur
libcloudstorage
Commits
a88fda77
Commit
a88fda77
authored
Feb 15, 2018
by
Paweł Wegner
Browse files
YouTube: updated descrambler.
parent
35401f4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/CloudProvider/YouTube.cpp
View file @
a88fda77
...
...
@@ -117,7 +117,7 @@ EitherError<std::string> descramble(const std::string& scrambled,
std
::
stringstream
&
stream
)
{
auto
find_descrambler
=
[](
std
::
stringstream
&
stream
)
{
auto
player
=
stream
.
str
();
const
std
::
string
descrambler_search
=
"
.set(
\"
signature
\"
,
"
;
const
std
::
string
descrambler_search
=
"
\"
signature
\"
:
\"
sig
\"
;c=
"
;
auto
it
=
player
.
find
(
descrambler_search
);
if
(
it
==
std
::
string
::
npos
)
throw
std
::
logic_error
(
"can't find descrambler name"
);
...
...
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