1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-06-26 13:49:38 +00:00
This commit is contained in:
thehunmonkgroup 2024-06-15 01:17:20 +08:00 committed by GitHub
commit cc62282f58
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)