mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-24 02:35:12 +00:00
Merge pull request #236 from lra/dailymotion-fix
Fix the DailymotionIE to parse the new title of a webpage
This commit is contained in:
commit
9e9b75ae4d
1 changed files with 1 additions and 1 deletions
|
@ -1618,7 +1618,7 @@ class DailymotionIE(InfoExtractor):
|
|||
|
||||
video_url = mediaURL
|
||||
|
||||
mobj = re.search(r'(?im)<title>Dailymotion\s*-\s*(.+)\s*-\s*[^<]+?</title>', webpage)
|
||||
mobj = re.search(r'(?im)<title>\s*(.+)\s*-\s*Video\s+Dailymotion</title>', webpage)
|
||||
if mobj is None:
|
||||
self._downloader.trouble(u'ERROR: unable to extract title')
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue