mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-09 14:12:51 +08:00
[sevenplus] because geo-restricted: possibly working but untested fix for #15862
This commit is contained in:
parent
46c6742d4f
commit
4b5691179c
@ -3,6 +3,7 @@ from __future__ import unicode_literals
|
||||
|
||||
import re
|
||||
|
||||
from .common import InfoExtractor
|
||||
from .brightcove import BrightcoveNewIE
|
||||
from ..utils import update_url_query
|
||||
|
||||
@ -64,4 +65,8 @@ class SevenPlusIE(BrightcoveNewIE):
|
||||
if value:
|
||||
info[dst_key] = value
|
||||
|
||||
if info['title'] is None:
|
||||
webpage = self._download_webpage(url, episode_id)
|
||||
info['title'] = self._search_regex(r'<title>([^>]+)</title>', webpage, 'title')
|
||||
|
||||
return info
|
||||
|
Loading…
Reference in New Issue
Block a user