aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
author5moufl <malouito@gmail.com>2014-12-11 14:25:26 +0100
committer5moufl <malouito@gmail.com>2014-12-11 14:25:26 +0100
commite0b9d47387327fb8d25d5bb2f2f4f80a3b77a4a8 (patch)
tree40aacb5a6eaf9fd2e7231c6453af57d4a8fdd97c /youtube_dl/extractor
parenta81bbebf44b6f405fcb3959b3fc2d2dc03b3bb59 (diff)
[BehindKink] Update URL extraction
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/behindkink.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/behindkink.py b/youtube_dl/extractor/behindkink.py
index 31fdc0dcc..84d8ef849 100644
--- 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]