diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-10-03 20:17:10 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-10-03 20:17:12 +0200 |
commit | d838b1bd4a256484820af7aeb0c2711934cb00ad (patch) | |
tree | 94680fb9f3c35d0faeb88a143fc42894cbd1a896 /youtube_dl/extractor/common.py | |
parent | fe506288bd327d3e7e9a90706ba10f3ff3d36ffe (diff) |
[utils] Default age_limit to None
If we can't parse it, it means we don't have any information, not that the content is unrestricted.
Diffstat (limited to 'youtube_dl/extractor/common.py')
-rw-r--r-- | youtube_dl/extractor/common.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/extractor/common.py b/youtube_dl/extractor/common.py index 611cf95f1..450c7dfd6 100644 --- a/youtube_dl/extractor/common.py +++ b/youtube_dl/extractor/common.py @@ -138,6 +138,8 @@ class InfoExtractor(object): Unless mentioned otherwise, the fields should be Unicode strings. + Unless mentioned otherwise, None is equivalent to absence of information. + Subclasses of this one should re-define the _real_initialize() and _real_extract() methods and define a _VALID_URL regexp. Probably, they should also be added to the list of extractors. |