Sergey M․
8 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
3 additions and
1 deletions
-
youtube_dl/extractor/tvigle.py
|
@ -58,7 +58,9 @@ class TvigleIE(InfoExtractor): |
|
|
if not video_id: |
|
|
if not video_id: |
|
|
webpage = self._download_webpage(url, display_id) |
|
|
webpage = self._download_webpage(url, display_id) |
|
|
video_id = self._html_search_regex( |
|
|
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') |
|
|
webpage, 'video id') |
|
|
|
|
|
|
|
|
video_data = self._download_json( |
|
|
video_data = self._download_json( |
|
|