1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[cbssports] PEP 8

This commit is contained in:
Sergey M․ 2018-04-22 04:57:22 +07:00
parent 040c6296bb
commit 353f0bde78
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -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)