mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-29 16:32:04 +00:00
[youku] Simplify
This commit is contained in:
parent
4d77550cf0
commit
ade2340971
1 changed files with 1 additions and 3 deletions
|
@ -210,9 +210,7 @@ def retrieve_data(req_url, note):
|
|||
if video_password:
|
||||
basic_data_url += '&pwd=%s' % video_password
|
||||
|
||||
data = retrieve_data(
|
||||
basic_data_url,
|
||||
'Downloading JSON metadata 1')
|
||||
data = retrieve_data(basic_data_url, 'Downloading JSON metadata')
|
||||
|
||||
error = data.get('error')
|
||||
if error:
|
||||
|
|
Loading…
Reference in a new issue