mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-07-01 16:19:32 +00:00
Merge fc1282b3fe
into 0153b387e5
This commit is contained in:
commit
cc62282f58
|
@ -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…
Reference in a new issue