1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[xboxclips] Fix extraction

This commit is contained in:
Sergey M․ 2015-01-11 15:25:29 +06:00
parent 987493aef3
commit d156a1d981

View File

@ -30,7 +30,7 @@ def _real_extract(self, url):
webpage = self._download_webpage(url, video_id)
video_url = self._html_search_regex(
r'>(?:Link|Download): <a href="([^"]+)">', webpage, 'video URL')
r'>(?:Link|Download): <a[^>]+href="([^"]+)"', webpage, 'video URL')
title = self._html_search_regex(
r'<title>XboxClips \| ([^<]+)</title>', webpage, 'title')
upload_date = unified_strdate(self._html_search_regex(