mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-09-26 16:50:10 +00:00
[extractor] Common function _match_valid_url
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import re
|
||||
|
||||
from .common import InfoExtractor
|
||||
from ..utils import (
|
||||
@@ -75,7 +74,7 @@ class ViddlerIE(InfoExtractor):
|
||||
}]
|
||||
|
||||
def _real_extract(self, url):
|
||||
video_id, secret = re.match(self._VALID_URL, url).groups()
|
||||
video_id, secret = self._match_valid_url(url).groups()
|
||||
|
||||
query = {
|
||||
'video_id': video_id,
|
||||
|
Reference in New Issue
Block a user