[tnaflix] Don't modify download URLs (closes #14811)
authorSergey M․ <dstftw@gmail.com>
Sat, 25 Nov 2017 16:08:46 +0000 (23:08 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 25 Nov 2017 16:42:20 +0000 (23:42 +0700)
youtube_dl/extractor/tnaflix.py

index 7e6ec3430bda4bd042d0b598ad2c7ef4dea53e77..9f47ce2aa2f0392dd7dfc15c4a2fafbbedf22978 100644 (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: