aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/cliphunter.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/cliphunter.py')
-rw-r--r--youtube_dl/extractor/cliphunter.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/youtube_dl/extractor/cliphunter.py b/youtube_dl/extractor/cliphunter.py
index d4227e6eb..2edab90a3 100644
--- a/youtube_dl/extractor/cliphunter.py
+++ b/youtube_dl/extractor/cliphunter.py
@@ -4,7 +4,6 @@ import json
import re
from .common import InfoExtractor
-from ..utils import int_or_none
_translation_table = {
@@ -39,9 +38,7 @@ class CliphunterIE(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)
video_title = self._search_regex(