1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-10 06:37:17 +08:00

Fetching meta-data about episode required user logging in, raise error if user didn't provide credentials

This commit is contained in:
Twilkie 2018-12-28 16:45:07 +01:00
parent e58e4111c4
commit 5b00b954c6

View File

@ -207,8 +207,9 @@ class VrtNUIE(GigyaBaseIE):
def _login(self):
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 = {
'APIKey': self._APIKEY,