aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/abc.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-09-28 09:31:58 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-09-28 09:31:58 +0200
commited9266db90023500e687aa634b55e11742c2e18c (patch)
tree362ebeaa9816a909d5ef26d17c9ba79831e38af3 /youtube_dl/extractor/abc.py
parentf4b1c7adb81555fde0dff390b48e4139438b4071 (diff)
[common] Add new helper function _match_id
Diffstat (limited to 'youtube_dl/extractor/abc.py')
-rw-r--r--youtube_dl/extractor/abc.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/abc.py b/youtube_dl/extractor/abc.py
index 7d89f44ee..69f89320c 100644
--- a/youtube_dl/extractor/abc.py
+++ b/youtube_dl/extractor/abc.py
@@ -22,8 +22,7 @@ class ABCIE(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)
urls_info_json = self._search_regex(