aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/common.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-05-15 12:41:42 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-05-15 12:41:42 +0200
commitad3bc6acd5d6724875b9fa59f9b5cdb9b904ec91 (patch)
treeed3d097e27e7946c9a93fb9bd82b1072202e82ed /youtube_dl/extractor/common.py
parent5afa7f8beefcd9b34035f821ad1cecbcf49a6db8 (diff)
Document and test categories (#2923)
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r--youtube_dl/extractor/common.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py
index 1e366a13c..db472aace 100644
--- a/youtube_dl/extractor/common.py
+++ b/youtube_dl/extractor/common.py
@@ -113,6 +113,8 @@ class InfoExtractor(object):
webpage_url: The url to the video webpage, if given to youtube-dl it
should allow to get the same result again. (It will be set
by YoutubeDL if it's missing)
+ categories: A list of categories that the video falls in, for example
+ ["Sports", "Berlin"]
Unless mentioned otherwise, the fields should be Unicode strings.