1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2025-07-12 13:26:19 +00:00

Merge fc1282b3febc609c4f1f4f6905d0c694c69c6d5e into c5098961b04ce83f4615f2a846c84f803b072639

This commit is contained in:
thehunmonkgroup 2024-08-21 21:32:27 -04:00 committed by GitHub
commit fe53ce7ae6
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)