1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 19:52:11 +00:00

[extractor/common] Document ie_key in url results

This commit is contained in:
Philipp Hagemeister 2014-12-09 10:58:06 +01:00
parent 15644a40df
commit f58766ce5c

View file

@ -174,9 +174,10 @@ class InfoExtractor(object):
_type "url" indicates that the video must be extracted from another _type "url" indicates that the video must be extracted from another
location, possibly by a different extractor. Its only required key is: location, possibly by a different extractor. Its only required key is:
"url" - the next URL to extract. "url" - the next URL to extract.
The key "ie_key" can be set to the class name (minus the trailing "IE",
Additionally, it may have properties believed to be identical to the e.g. "Youtube") if the extractor class is known in advance.
resolved entity, for example "title" if the title of the referred video is 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. known ahead of time.