projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
696d498
)
[teamcoco] Update video id regex
author
Sergey M․
<dstftw@gmail.com>
Wed, 20 Aug 2014 13:30:29 +0000
(20:30 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 20 Aug 2014 13:30:29 +0000
(20:30 +0700)
youtube_dl/extractor/teamcoco.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/teamcoco.py
b/youtube_dl/extractor/teamcoco.py
index f8dd7e955ada5ce58fd04d668027587eda1b6c00..fa796ce72126610cda53db5378d926b44d72e526 100644
(file)
--- 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