X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fcracked.py;h=94d03ce2af108a4a711f09f3db9fecd5bd62566e;hb=cc4444662c54c24f6f82efd3ba5e60e9556d88b8;hp=b2b151558c9bb88e27143756089640a6ca31c85e;hpb=c610f38ba9586f21f632e115cbc15e172d60ee40;p=youtube-dl diff --git a/youtube_dl/extractor/cracked.py b/youtube_dl/extractor/cracked.py index b2b151558..94d03ce2a 100644 --- a/youtube_dl/extractor/cracked.py +++ b/youtube_dl/extractor/cracked.py @@ -37,8 +37,7 @@ class CrackedIE(InfoExtractor): }] def _real_extract(self, url): - mobj = re.match(self._VALID_URL, url) - video_id = mobj.group('id') + video_id = self._match_id(url) webpage = self._download_webpage(url, video_id)