X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=inline;f=youtube_dl%2Fextractor%2Fteamcoco.py;h=c910110ca9775d9ad03011238aacdc3c9ef4dae1;hb=668de34c6bbe48f574f23ad898fa904a7c1ad84b;hp=1dd5e1b685e7aa99804d51d99a594945f30961a6;hpb=427023a1e6f2bb45a61b2bbfd56f845ee0c0ffee;p=youtube-dl
diff --git a/youtube_dl/extractor/teamcoco.py b/youtube_dl/extractor/teamcoco.py
index 1dd5e1b68..c910110ca 100644
--- a/youtube_dl/extractor/teamcoco.py
+++ b/youtube_dl/extractor/teamcoco.py
@@ -30,26 +30,17 @@ class TeamcocoIE(InfoExtractor):
self.report_extraction(video_id)
- video_title = self._html_search_regex(r'(.*?)',
+ video_url = self._html_search_regex(r']*type="high".*?>(.*?)',
data, u'video URL')
return [{
'id': video_id,
'url': video_url,
'ext': 'mp4',
- 'title': video_title,
- 'thumbnail': thumbnail,
- 'description': video_description,
+ 'title': self._og_search_title(webpage),
+ 'thumbnail': self._og_search_thumbnail(webpage),
+ 'description': self._og_search_description(webpage),
}]