]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/streamcloud.py
Annotate some highlights of the release.
[youtubedl] / youtube_dl / extractor / streamcloud.py
index 6a6bb90c493a92fc2e644e2a550547460d899ca4..b97bb43741b0861ce3cf9e63f1be116687409854 100644 (file)
@@ -45,7 +45,7 @@ class StreamcloudIE(InfoExtractor):
             value="([^"]*)"
             ''', orig_webpage)
 
-        self._sleep(12, video_id)
+        self._sleep(6, video_id)
 
         webpage = self._download_webpage(
             url, video_id, data=urlencode_postdata(fields), headers={
@@ -72,4 +72,7 @@ class StreamcloudIE(InfoExtractor):
             'title': title,
             'url': video_url,
             'thumbnail': thumbnail,
+            'http_headers': {
+                'Referer': url,
+            },
         }