Compare commits
5 Commits
set-secret
...
main
Author | SHA1 | Date | |
---|---|---|---|
b1babac9c9 | |||
af1b07c0d3 | |||
881f4e39af | |||
847e5d5baa | |||
b8c8e867fc |
@ -1,7 +1,7 @@
|
||||
import os
|
||||
|
||||
baseurl = "https://anime-api.5t5.top/v2"
|
||||
token = "lDr7fxW8tDFoY2CdySoaEs1gCaiA3dUP1GwIe6Khg"
|
||||
token = ""
|
||||
node = "2AG_CF"
|
||||
save_path="./downloads"
|
||||
|
||||
|
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