Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backups
youtube-dl
Commits
9650c3e9
Commit
9650c3e9
authored
Jan 02, 2018
by
Jaime Marquínez Ferrándiz
Browse files
[rtve.es:alacarta] Fix extraction of some new URLs
parent
b5e531f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
ChangeLog
ChangeLog
+6
-0
youtube_dl/extractor/rtve.py
youtube_dl/extractor/rtve.py
+3
-0
No files found.
ChangeLog
View file @
9650c3e9
version <unreleased>
Extractors
* [rtve.es:alacarta] Fix extraction of some new URLs
version 2017.12.31
Core
...
...
youtube_dl/extractor/rtve.py
View file @
9650c3e9
...
...
@@ -31,6 +31,9 @@ def _decrypt_url(png):
hash_index
=
data
.
index
(
'#'
)
alphabet_data
=
data
[:
hash_index
]
url_data
=
data
[
hash_index
+
1
:]
if
url_data
[
0
]
==
'H'
and
url_data
[
3
]
==
'%'
:
# remove useless HQ%% at the start
url_data
=
url_data
[
4
:]
alphabet
=
[]
e
=
0
...
...
Write
Preview
Markdown
is supported
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