mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-18 19:14:35 +00:00
[rtve.es:alacarta] Fix extraction of some new URLs
This commit is contained in:
parent
b5e531f31a
commit
9650c3e91d
@ -1,3 +1,9 @@
|
|||||||
|
version <unreleased>
|
||||||
|
|
||||||
|
Extractors
|
||||||
|
* [rtve.es:alacarta] Fix extraction of some new URLs
|
||||||
|
|
||||||
|
|
||||||
version 2017.12.31
|
version 2017.12.31
|
||||||
|
|
||||||
Core
|
Core
|
||||||
|
@ -31,6 +31,9 @@ def _decrypt_url(png):
|
|||||||
hash_index = data.index('#')
|
hash_index = data.index('#')
|
||||||
alphabet_data = data[:hash_index]
|
alphabet_data = data[:hash_index]
|
||||||
url_data = data[hash_index + 1:]
|
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 = []
|
alphabet = []
|
||||||
e = 0
|
e = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user