projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe4bfe3
)
[tnaflix] Don't modify download URLs (closes #14811)
author
Sergey M․
<dstftw@gmail.com>
Sat, 25 Nov 2017 16:08:46 +0000
(23:08 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 25 Nov 2017 16:42:20 +0000
(23:42 +0700)
youtube_dl/extractor/tnaflix.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/tnaflix.py
b/youtube_dl/extractor/tnaflix.py
index 7e6ec3430bda4bd042d0b598ad2c7ef4dea53e77..9f47ce2aa2f0392dd7dfc15c4a2fafbbedf22978 100644
(file)
--- 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: