From ad3bc6acd5d6724875b9fa59f9b5cdb9b904ec91 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Thu, 15 May 2014 12:41:42 +0200 Subject: Document and test categories (#2923) --- youtube_dl/extractor/common.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'youtube_dl/extractor/common.py') 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. -- cgit v1.2.3