Browse Source

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

Sergey M․ 7 years ago
parent
commit
dbb25af657
1 changed files with 2 additions and 1 deletions
  1. 2 1
      youtube_dl/extractor/tnaflix.py

+ 2 - 1
youtube_dl/extractor/tnaflix.py

@@ -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: