aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/tnaflix.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-11-25 23:08:46 +0700
committerSergey M․ <dstftw@gmail.com>2017-11-25 23:42:20 +0700
commitdbb25af657166108e7afcd4e1ff197e2a5644724 (patch)
tree9b809542cb0cb64313ae68c789cf1ee09f35843a /youtube_dl/extractor/tnaflix.py
parentfe4bfe36e148c0e1d3180a2992503536b4b4f84b (diff)
[tnaflix] Don't modify download URLs (closes #14811)
Diffstat (limited to 'youtube_dl/extractor/tnaflix.py')
-rw-r--r--youtube_dl/extractor/tnaflix.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/tnaflix.py b/youtube_dl/extractor/tnaflix.py
index 7e6ec3430..9f47ce2aa 100644
--- a/youtube_dl/extractor/tnaflix.py
+++ b/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: