Ver código fonte

[streamcloud] Fix extraction (closes #17054)

Sergey M․ 7 anos atrás
pai
commit
b5dec62ca6
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      youtube_dl/extractor/streamcloud.py

+ 3 - 0
youtube_dl/extractor/streamcloud.py

@@ -72,4 +72,7 @@ class StreamcloudIE(InfoExtractor):
             'title': title,
             'url': video_url,
             'thumbnail': thumbnail,
+            'http_headers': {
+                'Referer': url,
+            },
         }