aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/cracked.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/cracked.py')
-rw-r--r--youtube_dl/extractor/cracked.py3
1 files changed, 1 insertions, 2 deletions
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)