projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
040c629
)
[cbssports] PEP 8
author
Sergey M․
<dstftw@gmail.com>
Sat, 21 Apr 2018 21:57:22 +0000
(
04:57
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 21 Apr 2018 21:57:22 +0000
(
04:57
+0700)
youtube_dl/extractor/cbssports.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/cbssports.py
b/youtube_dl/extractor/cbssports.py
index 27a243d0858677aead22e0a41c36f2bc57938870..83b76476245d553f6f9bc976723f2573dd6c72c2 100644
(file)
--- a/
youtube_dl/extractor/cbssports.py
+++ b/
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)