projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16e633a
)
[tvigle] Fix extraction (Closes #9259)
author
Sergey M․
<dstftw@gmail.com>
Wed, 20 Apr 2016 17:52:41 +0000
(23:52 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 20 Apr 2016 17:52:41 +0000
(23:52 +0600)
youtube_dl/extractor/tvigle.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/tvigle.py
b/youtube_dl/extractor/tvigle.py
index dc3a8334a6b335143dff417d805a26df412d8783..f3aba3530614929f1eddd2e0c137006edbc4fb70 100644
(file)
--- a/
youtube_dl/extractor/tvigle.py
+++ b/
youtube_dl/extractor/tvigle.py
@@
-58,7
+58,9
@@
class TvigleIE(InfoExtractor):
if not video_id:
webpage = self._download_webpage(url, display_id)
video_id = self._html_search_regex(
- r'class="video-preview current_playing" id="(\d+)">',
+ (r'<div[^>]+class=["\']player["\'][^>]+id=["\'](\d+)',
+ r'var\s+cloudId\s*=\s*["\'](\d+)',
+ r'class="video-preview current_playing" id="(\d+)"'),
webpage, 'video id')
video_data = self._download_json(