diff options
author | Jaime Marquínez Ferrándiz <[email protected]> | 2015-12-05 16:12:50 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <[email protected]> | 2015-12-05 16:12:50 +0100 |
commit | 77334ccb44c06ea2d9308b334aecc612c2f3240e (patch) | |
tree | e636d13d32f9523f2ec7e28b6c1977ebf5aae960 /youtube_dl/extractor | |
parent | 796db212952605606502fd40aa83007f08524cb2 (diff) | |
download | youtube-dl-77334ccb44c06ea2d9308b334aecc612c2f3240e.tar.gz youtube-dl-77334ccb44c06ea2d9308b334aecc612c2f3240e.zip |
[metacafe] Fix age limit extraction
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/metacafe.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/metacafe.py b/youtube_dl/extractor/metacafe.py index 5b0b42608..67d6271e1 100644 --- a/youtube_dl/extractor/metacafe.py +++ b/youtube_dl/extractor/metacafe.py @@ -229,7 +229,7 @@ class MetacafeIE(InfoExtractor): age_limit = ( 18 - if re.search(r'"contentRating":"restricted"', webpage) + if re.search(r'(?:"contentRating":|"rating",)"restricted"', webpage) else 0) if isinstance(video_url, list): |