This commit is contained in:
thehunmonkgroup 2024-05-10 23:49:55 +08:00 committed by GitHub
commit 48947c8526
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
self._TFA_URL.format(tl), tfa_req,
'Submitting TFA code', 'Unable to submit TFA code')
if tfa_results is False:
if not tfa_results:
return False
tfa_res = try_get(tfa_results, lambda x: x[0][5], list)