[teamcoco] Update video id regex
authorSergey M․ <dstftw@gmail.com>
Wed, 20 Aug 2014 13:30:29 +0000 (20:30 +0700)
committerSergey M․ <dstftw@gmail.com>
Wed, 20 Aug 2014 13:30:29 +0000 (20:30 +0700)
youtube_dl/extractor/teamcoco.py

index f8dd7e955ada5ce58fd04d668027587eda1b6c00..fa796ce72126610cda53db5378d926b44d72e526 100644 (file)
@@ -37,7 +37,7 @@ class TeamcocoIE(InfoExtractor):
         video_id = mobj.group("video_id")
         if not video_id:
             video_id = self._html_search_regex(
-                r'<article class="video" data-id="(\d+?)"',
+                r'data-node-id="(\d+?)"',
                 webpage, 'video id')
 
         data_url = 'http://teamcoco.com/cvp/2.0/%s.xml' % video_id