summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-12-09 10:58:06 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-12-09 10:58:06 +0100
commitf58766ce5cc5a1c6d651560591bad119787e94b2 (patch)
tree14860577a9044267680572d8e1f1ead44edd57a1
parent15644a40df9881162bfdeec6e4f6b798894f0e47 (diff)
downloadyoutube-dl-f58766ce5cc5a1c6d651560591bad119787e94b2.tar.gz
youtube-dl-f58766ce5cc5a1c6d651560591bad119787e94b2.tar.xz
youtube-dl-f58766ce5cc5a1c6d651560591bad119787e94b2.zip
[extractor/common] Document ie_key in url results
-rw-r--r--youtube_dl/extractor/common.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index 2faaf6226..cfd25cd21 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -174,9 +174,10 @@ class InfoExtractor(object):
     _type "url" indicates that the video must be extracted from another
     location, possibly by a different extractor. Its only required key is:
     "url" - the next URL to extract.
-
-    Additionally, it may have properties believed to be identical to the
-    resolved entity, for example "title" if the title of the referred video is
+    The key "ie_key" can be set to the class name (minus the trailing "IE",
+    e.g. "Youtube") if the extractor class is known in advance.
+    Additionally, the dictionary may have any properties of the resolved entity
+    known in advance, for example "title" if the title of the referred video is
     known ahead of time.