diff options
author | 5moufl <[email protected]> | 2014-12-11 14:25:26 +0100 |
---|---|---|
committer | 5moufl <[email protected]> | 2014-12-11 14:25:26 +0100 |
commit | e0b9d47387327fb8d25d5bb2f2f4f80a3b77a4a8 (patch) | |
tree | 40aacb5a6eaf9fd2e7231c6453af57d4a8fdd97c | |
parent | a81bbebf44b6f405fcb3959b3fc2d2dc03b3bb59 (diff) | |
download | youtube-dl-e0b9d47387327fb8d25d5bb2f2f4f80a3b77a4a8.tar.gz youtube-dl-e0b9d47387327fb8d25d5bb2f2f4f80a3b77a4a8.zip |
[BehindKink] Update URL extraction
-rw-r--r-- | youtube_dl/extractor/behindkink.py | 3 |
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] |