]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/vshare.py
d/p/skip-style-checks-for-flake8: Add metadata to please lintian.
[youtubedl] / youtube_dl / extractor / vshare.py
index e4ec778896692c84ce7be54d9628b64be93de5f7..c631ac1faa7243ebc0424330859720f5dc2c181b 100644 (file)
@@ -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')