mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-10 17:57:14 +08:00
Fetching meta-data about episode required user logging in, raise error if user didn't provide credentials
This commit is contained in:
parent
e58e4111c4
commit
5b00b954c6
@ -207,8 +207,9 @@ class VrtNUIE(GigyaBaseIE):
|
|||||||
|
|
||||||
def _login(self):
|
def _login(self):
|
||||||
username, password = self._get_login_info()
|
username, password = self._get_login_info()
|
||||||
if username is None:
|
|
||||||
return
|
if username is None or password is None:
|
||||||
|
self.raise_login_required()
|
||||||
|
|
||||||
auth_data = {
|
auth_data = {
|
||||||
'APIKey': self._APIKEY,
|
'APIKey': self._APIKEY,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user