mirror of
https://github.com/ytdl-org/ytdl-nightly.git
synced 2024-12-25 22:33:01 +01:00
Simplify EscapistIE
This commit is contained in:
parent
426ff04282
commit
60a72e8d45
@ -67,10 +67,7 @@ from .extractor.zdf import ZDFIE
|
|||||||
|
|
||||||
|
|
||||||
class EscapistIE(InfoExtractor):
|
class EscapistIE(InfoExtractor):
|
||||||
"""Information extractor for The Escapist """
|
|
||||||
|
|
||||||
_VALID_URL = r'^(https?://)?(www\.)?escapistmagazine\.com/videos/view/(?P<showname>[^/]+)/(?P<episode>[^/?]+)[/?]?.*$'
|
_VALID_URL = r'^(https?://)?(www\.)?escapistmagazine\.com/videos/view/(?P<showname>[^/]+)/(?P<episode>[^/?]+)[/?]?.*$'
|
||||||
IE_NAME = u'escapist'
|
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
mobj = re.match(self._VALID_URL, url)
|
mobj = re.match(self._VALID_URL, url)
|
||||||
|
Loading…
Reference in New Issue
Block a user