aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/cbssports.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-04-22 04:57:22 +0700
committerSergey M․ <dstftw@gmail.com>2018-04-22 04:57:22 +0700
commit353f0bde78eb4dd9432c092f244bb30b2abd7f70 (patch)
tree10d8909fa7f892b2777d2b35c5738d4e29bc35b4 /youtube_dl/extractor/cbssports.py
parent040c6296bb9da495d37ba134baee996a3a97b64f (diff)
[cbssports] PEP 8
Diffstat (limited to 'youtube_dl/extractor/cbssports.py')
-rw-r--r--youtube_dl/extractor/cbssports.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube_dl/extractor/cbssports.py b/youtube_dl/extractor/cbssports.py
index 27a243d08..83b764762 100644
--- 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)