mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-14 23:32:33 +00:00
[smotri] Use raise_login_required
This commit is contained in:
parent
e269d3ae7d
commit
42e7373bd3
1 changed files with 1 additions and 4 deletions
|
@ -330,10 +330,7 @@ class SmotriBroadcastIE(InfoExtractor):
|
||||||
|
|
||||||
(username, password) = self._get_login_info()
|
(username, password) = self._get_login_info()
|
||||||
if username is None:
|
if username is None:
|
||||||
raise ExtractorError(
|
self.raise_login_required('Erotic broadcasts allowed only for registered users')
|
||||||
'Erotic broadcasts allowed only for registered users, '
|
|
||||||
'use --username and --password options to provide account credentials.',
|
|
||||||
expected=True)
|
|
||||||
|
|
||||||
login_form = {
|
login_form = {
|
||||||
'login-hint53': '1',
|
'login-hint53': '1',
|
||||||
|
|
Loading…
Reference in a new issue