projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a81bbeb
)
[BehindKink] Update URL extraction
author
5moufl
<malouito@gmail.com>
Thu, 11 Dec 2014 13:25:26 +0000
(14:25 +0100)
committer
5moufl
<malouito@gmail.com>
Thu, 11 Dec 2014 13:25:26 +0000
(14:25 +0100)
youtube_dl/extractor/behindkink.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/behindkink.py
b/youtube_dl/extractor/behindkink.py
index 31fdc0dcc0614babf4ff3b48186566904cfcc57a..84d8ef849a10c1a580875daf74027358ddc5092e 100644
(file)
--- a/
youtube_dl/extractor/behindkink.py
+++ b/
youtube_dl/extractor/behindkink.py
@@
-34,8
+34,7
@@
class BehindKinkIE(InfoExtractor):
webpage = self._download_webpage(url, display_id)
video_url = self._search_regex(
- r"'file':\s*'([^']+)'",
- webpage, 'URL base')
+ r'<source src="(.*?)" type="video/mp4" />', webpage, 'video URL')
video_id = url_basename(video_url)
video_id = video_id.split('_')[0]