projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[abc7news] Add extractor (Closes #4734)
[youtube-dl]
/
youtube_dl
/
extractor
/
cliphunter.py
diff --git
a/youtube_dl/extractor/cliphunter.py
b/youtube_dl/extractor/cliphunter.py
index d4227e6ebb51244018d24da87927c54061058dc8..2edab90a33d553225b8c790b8d391f0e40b55cf8 100644
(file)
--- a/
youtube_dl/extractor/cliphunter.py
+++ b/
youtube_dl/extractor/cliphunter.py
@@
-4,7
+4,6
@@
import json
import re
from .common import InfoExtractor
import re
from .common import InfoExtractor
-from ..utils import int_or_none
_translation_table = {
_translation_table = {
@@
-39,9
+38,7
@@
class CliphunterIE(InfoExtractor):
}
def _real_extract(self, url):
}
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(
webpage = self._download_webpage(url, video_id)
video_title = self._search_regex(