aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
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]