改进
This commit is contained in:
parent
881f4e39af
commit
af1b07c0d3
7
get.py
7
get.py
@ -11,6 +11,13 @@ def downloadAnime(id, filepath):
|
||||
})
|
||||
|
||||
for episode in episodes:
|
||||
|
||||
# if ["parseResult"] not found
|
||||
if "parseResult" not in episode:
|
||||
print("parseResult not found")
|
||||
print(episode)
|
||||
continue
|
||||
|
||||
ext = episode["parseResult"]["extensionName"]["raw"]
|
||||
filename_download = os.path.join(filepath, episode["name"] + '.' + ext + ".downloading")
|
||||
filename_done = os.path.join(filepath, episode["name"] + '.' + ext)
|
||||
|
Loading…
Reference in New Issue
Block a user