Sergey M․
7 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/cbssports.py
|
|
@ -32,5 +32,7 @@ class CBSSportsIE(CBSBaseIE): |
|
|
|
def _real_extract(self, url): |
|
|
|
display_id = self._match_id(url) |
|
|
|
webpage = self._download_webpage(url, display_id) |
|
|
|
video_id= self._search_regex([r'(?:=|%26)pcid%3D(\d+)', r'embedVideo(?:Container)?_(\d+)'], webpage, 'video id') |
|
|
|
video_id = self._search_regex( |
|
|
|
[r'(?:=|%26)pcid%3D(\d+)', r'embedVideo(?:Container)?_(\d+)'], |
|
|
|
webpage, 'video id') |
|
|
|
return self._extract_video_info('byId=%s' % video_id, video_id) |
xxxxxxxxxx