Compare commits

..

1 Commits

2 changed files with 1 additions and 8 deletions

View File

@ -1,7 +1,7 @@
import os
baseurl = "https://anime-api.5t5.top/v2"
token = ""
token = "lDr7fxW8tDFoY2CdySoaEs1gCaiA3dUP1GwIe6Khg"
node = "2AG_CF"
save_path="./downloads"

7
get.py
View File

@ -11,13 +11,6 @@ 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)