Browse Source

[BehindKink] Update URL extraction

master
5moufl 10 years ago
parent
commit
e0b9d47387
1 changed files with 1 additions and 2 deletions
  1. 3
      youtube_dl/extractor/behindkink.py

3
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]

Loading…
Cancel
Save