mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-13 05:46:21 +00:00
Merge fc1282b3febc609c4f1f4f6905d0c694c69c6d5e into c5098961b04ce83f4615f2a846c84f803b072639
This commit is contained in:
commit
fe53ce7ae6
@ -218,7 +218,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
|
|||||||
self._TFA_URL.format(tl), tfa_req,
|
self._TFA_URL.format(tl), tfa_req,
|
||||||
'Submitting TFA code', 'Unable to submit TFA code')
|
'Submitting TFA code', 'Unable to submit TFA code')
|
||||||
|
|
||||||
if tfa_results is False:
|
if not tfa_results:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
tfa_res = try_get(tfa_results, lambda x: x[0][5], list)
|
tfa_res = try_get(tfa_results, lambda x: x[0][5], list)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user