Match newline in title and video_formats

Fixes matching title and video_formats by matching newline with `.`
pull/29545/head
guming0 3 years ago committed by GitHub
parent a803582717
commit c4e689e453
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -74,10 +74,10 @@ class WeiboIE(InfoExtractor):
url, video_id, note='Revisiting webpage')
title = self._html_search_regex(
r'<title>(.+?)</title>', webpage, 'title')
r'<title>(.+?)</title>', webpage, 'title', flags=re.DOTALL)
video_formats = compat_parse_qs(self._search_regex(
r'video-sources=\\\"(.+?)\"', webpage, 'video_sources'))
r'video-sources=\\\"(.+?)\"', webpage, 'video_sources', flags=re.DOTALL))
formats = []
supported_resolutions = (480, 720)

Loading…
Cancel
Save