aboutsummaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/extractor/teamcoco.py
diff options
context:
space:
mode:
authorNaglis Jonaitis <[email protected]>2015-02-08 17:45:38 +0200
committerNaglis Jonaitis <[email protected]>2015-02-08 17:45:38 +0200
commit641eb10d34629c177445dd38e9d3f1f73c4cb92f (patch)
tree069bb0ae4450761e98e9b74c7406e1674c0bbcc0 /youtube_dl/extractor/teamcoco.py
parent69319969de40f62ccf1c471427d309b6555483f9 (diff)
downloadyoutube-dl-641eb10d34629c177445dd38e9d3f1f73c4cb92f.tar.gz
youtube-dl-641eb10d34629c177445dd38e9d3f1f73c4cb92f.zip
Use _family_friendly_search for determining age_limit
Diffstat (limited to 'youtube_dl/extractor/teamcoco.py')
-rw-r--r--youtube_dl/extractor/teamcoco.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/youtube_dl/extractor/teamcoco.py b/youtube_dl/extractor/teamcoco.py
index 18a823719..e85d452a3 100644
--- a/youtube_dl/extractor/teamcoco.py
+++ b/youtube_dl/extractor/teamcoco.py
@@ -15,7 +15,8 @@ class TeamcocoIE(InfoExtractor):
'id': '80187',
'ext': 'mp4',
'title': 'Conan Becomes A Mary Kay Beauty Consultant',
- 'description': 'Mary Kay is perhaps the most trusted name in female beauty, so of course Conan is a natural choice to sell their products.'
+ 'description': 'Mary Kay is perhaps the most trusted name in female beauty, so of course Conan is a natural choice to sell their products.',
+ 'age_limit': 0,
}
}, {
'url': 'http://teamcoco.com/video/louis-ck-interview-george-w-bush',
@@ -24,7 +25,8 @@ class TeamcocoIE(InfoExtractor):
'id': '19705',
'ext': 'mp4',
"description": "Louis C.K. got starstruck by George W. Bush, so what? Part one.",
- "title": "Louis C.K. Interview Pt. 1 11/3/11"
+ "title": "Louis C.K. Interview Pt. 1 11/3/11",
+ 'age_limit': 0,
}
}
]
@@ -83,4 +85,5 @@ class TeamcocoIE(InfoExtractor):
'title': self._og_search_title(webpage),
'thumbnail': self._og_search_thumbnail(webpage),
'description': self._og_search_description(webpage),
+ 'age_limit': self._family_friendly_search(webpage),
}