mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-22 10:11:52 +00:00
[BehindKink] Update URL extraction
This commit is contained in:
parent
a81bbebf44
commit
e0b9d47387
1 changed files with 1 additions and 2 deletions
|
@ -34,8 +34,7 @@ class BehindKinkIE(InfoExtractor):
|
||||||
webpage = self._download_webpage(url, display_id)
|
webpage = self._download_webpage(url, display_id)
|
||||||
|
|
||||||
video_url = self._search_regex(
|
video_url = self._search_regex(
|
||||||
r"'file':\s*'([^']+)'",
|
r'<source src="(.*?)" type="video/mp4" />', webpage, 'video URL')
|
||||||
webpage, 'URL base')
|
|
||||||
|
|
||||||
video_id = url_basename(video_url)
|
video_id = url_basename(video_url)
|
||||||
video_id = video_id.split('_')[0]
|
video_id = video_id.split('_')[0]
|
||||||
|
|
Loading…
Reference in a new issue