1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-21 21:22:57 +08:00

Simplify EscapistIE

This commit is contained in:
Philipp Hagemeister 2013-06-23 21:06:49 +02:00
parent 426ff04282
commit 60a72e8d45

View File

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