about summary refs log tree commit diff
path: root/youtube_dl/extractor/teamcoco.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-08-20 20:30:29 +0700
committerSergey M․ <dstftw@gmail.com>2014-08-20 20:30:29 +0700
commitf83dda12ad37d1b83142e2821e72f8e6c0b4405e (patch)
tree36560b159924eadfaf31cd137a7023b54ef6a92a /youtube_dl/extractor/teamcoco.py
parent696d49815e082402be65c4f120397b4695477279 (diff)
downloadyoutube-dl-f83dda12ad37d1b83142e2821e72f8e6c0b4405e.tar.gz
youtube-dl-f83dda12ad37d1b83142e2821e72f8e6c0b4405e.tar.xz
youtube-dl-f83dda12ad37d1b83142e2821e72f8e6c0b4405e.zip
[teamcoco] Update video id regex
Diffstat (limited to 'youtube_dl/extractor/teamcoco.py')
-rw-r--r--youtube_dl/extractor/teamcoco.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/teamcoco.py b/youtube_dl/extractor/teamcoco.py
index f8dd7e955..fa796ce72 100644
--- a/youtube_dl/extractor/teamcoco.py
+++ b/youtube_dl/extractor/teamcoco.py
@@ -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