Skip to content

Commit

Permalink
[BehindKink] Update URL extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
5moufl committed Dec 11, 2014
1 parent a81bbeb commit e0b9d47
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions youtube_dl/extractor/behindkink.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ def _real_extract(self, url):
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]
Expand Down

0 comments on commit e0b9d47

Please sign in to comment.