1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-09 12:27:15 +08:00

add indents

This commit is contained in:
FindHao 2019-04-24 10:54:20 +08:00
parent a8391b4648
commit e1da6703d1

View File

@ -1679,7 +1679,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
'YouTube said: %s' % unavailable_message, expected=True, video_id=video_id)
if 'token' not in video_info:
if 'account_playback_token' in video_info:
video_info['token'] = video_info['account_playback_token']
video_info['token'] = video_info['account_playback_token']
elif 'reason' in video_info:
if 'The uploader has not made this video available in your country.' in video_info['reason']:
regions_allowed = self._html_search_meta(