projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bee705
)
[vshare] Pass Referer to download request (closes #19205, closes #19221)
author
Sergey M․
<dstftw@gmail.com>
Thu, 14 Feb 2019 16:40:46 +0000
(23:40 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 14 Feb 2019 16:43:16 +0000
(23:43 +0700)
youtube_dl/extractor/vshare.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vshare.py
b/youtube_dl/extractor/vshare.py
index e4ec778896692c84ce7be54d9628b64be93de5f7..c631ac1faa7243ebc0424330859720f5dc2c181b 100644
(file)
--- a/
youtube_dl/extractor/vshare.py
+++ b/
youtube_dl/extractor/vshare.py
@@
-48,7
+48,7
@@
class VShareIE(InfoExtractor):
webpage = self._download_webpage(
'https://vshare.io/v/%s/width-650/height-430/1' % video_id,
- video_id)
+ video_id
, headers={'Referer': url}
)
title = self._html_search_regex(
r'<title>([^<]+)</title>', webpage, 'title')