diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-10-26 23:13:42 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-10-26 23:13:42 +0100 |
commit | c9f08154a3dbf7272b1373c8e6aeea4a8d92b190 (patch) | |
tree | 0939e51ed556e9023614e88ab4b5ff583572620d /youtube_dl/extractor/cliphunter.py | |
parent | 526b276fd7199414d199f2913bc794677d0933ac (diff) |
Remove unused imports
Diffstat (limited to 'youtube_dl/extractor/cliphunter.py')
-rw-r--r-- | youtube_dl/extractor/cliphunter.py | 5 |
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( |