[common] Add new helper function _match_id
This commit is contained in:
parent
f4b1c7adb8
commit
ed9266db90
2 changed files with 9 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue