mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-06-10 10:50:49 +00:00
[ie/Boosty] remove method parameter in raise_login_required because it is the default value
This commit is contained in:
parent
7027b79160
commit
c7a1260a8a
|
@ -217,7 +217,7 @@ class BoostyIE(InfoExtractor):
|
||||||
}, get_all=False)})
|
}, get_all=False)})
|
||||||
|
|
||||||
if not entries and not post.get('hasAccess'):
|
if not entries and not post.get('hasAccess'):
|
||||||
self.raise_login_required('This post requires a subscription', metadata_available=True, method='cookies')
|
self.raise_login_required('This post requires a subscription', metadata_available=True)
|
||||||
elif not entries:
|
elif not entries:
|
||||||
raise ExtractorError('No videos found', expected=True)
|
raise ExtractorError('No videos found', expected=True)
|
||||||
if len(entries) == 1:
|
if len(entries) == 1:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user