1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-30 12:32:56 +01:00
This commit is contained in:
dirkf 2022-10-29 16:10:56 +00:00 committed by GitHub
parent eff6cd4c24
commit ea4948068d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,7 +177,7 @@ class PlatziIE(PlatziBaseIE):
why = video_player['blockedInfo'].get('type') or 'unspecified' why = video_player['blockedInfo'].get('type') or 'unspecified'
if why == 'unlogged': if why == 'unlogged':
self.raise_login_required() self.raise_login_required()
self._raise_extractor_error(video_id, 'All video formats blocked because ' + why) self._raise_extractor_error(lecture_id, 'All video formats blocked because ' + why)
formats = [] formats = []
headers = {'Referer': url} headers = {'Referer': url}