[BehindKink] Update URL extraction

This commit is contained in:
5moufl 2014-12-11 14:25:26 +01:00
parent a81bbebf44
commit e0b9d47387

View file

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