1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-22 16:57:40 +00:00

[tnaflix] Don't modify download URLs (closes #14811)

This commit is contained in:
Sergey M․ 2017-11-25 23:08:46 +07:00
parent fe4bfe36e1
commit dbb25af657
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -91,7 +91,8 @@ class TNAFlixNetworkBaseIE(InfoExtractor):
formats = []
def extract_video_url(vl):
return re.sub(r'speed=\d+', 'speed=', unescapeHTML(vl.text))
# Any URL modification now results in HTTP Error 403: Forbidden
return unescapeHTML(vl.text)
video_link = cfg_xml.find('./videoLink')
if video_link is not None: