aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/common.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-08-24 01:31:35 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-08-24 01:31:35 +0200
commitd769be6c96ebca432a076670a0ed4e72aec101c1 (patch)
treeb48af039ea19d4e9bf990a042a45e41eb2f5c5b8 /youtube_dl/extractor/common.py
parent00558d94145f97c644e66ec086fa9b9d8c58280f (diff)
[grooveshark,http] Make HTTP POST downloads work
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r--youtube_dl/extractor/common.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index 2e6eeac08..9d85a538c 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -84,6 +84,12 @@ class InfoExtractor(object):
format, irrespective of the file format.
-1 for default (order by other properties),
-2 or smaller for less than default.
+ * http_referer HTTP Referer header value to set.
+ * http_method HTTP method to use for the download.
+ * http_headers A dictionary of additional HTTP headers
+ to add to the request.
+ * http_post_data Additional data to send with a POST
+ request.
url: Final video URL.
ext: Video filename extension.
format: The video format, defaults to ext (used for --get-format)