mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-02-08 19:50:10 +09:00
flake8 cleanup
This commit is contained in:
parent
fb35bd50b0
commit
d900bd96b4
@ -3,6 +3,7 @@ from __future__ import unicode_literals
|
|||||||
|
|
||||||
from .common import InfoExtractor
|
from .common import InfoExtractor
|
||||||
|
|
||||||
|
|
||||||
class Pac12IE(InfoExtractor):
|
class Pac12IE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://(?:[a-z]+\.)?pac-12.com/(?:embed/)?(?P<id>.*)'
|
_VALID_URL = r'https?://(?:[a-z]+\.)?pac-12.com/(?:embed/)?(?P<id>.*)'
|
||||||
|
|
||||||
@ -41,7 +42,7 @@ class Pac12IE(InfoExtractor):
|
|||||||
if manifest_url is None:
|
if manifest_url is None:
|
||||||
# Video may be embedded one level deeper
|
# Video may be embedded one level deeper
|
||||||
vod_url = self._search_regex(
|
vod_url = self._search_regex(
|
||||||
r'(https?://(?:embed\.)?pac-12\.com/(?:embed/)?vod-\w+)',
|
r'(https?://(?:embed\.)?pac-12\.com/(?:embed/)?vod-\w+)',
|
||||||
webpage, 'url', default=None)
|
webpage, 'url', default=None)
|
||||||
if vod_url is None:
|
if vod_url is None:
|
||||||
return None
|
return None
|
||||||
|
Loading…
Reference in New Issue
Block a user