Compare commits
1 Commits
main
...
set-secret
Author | SHA1 | Date | |
---|---|---|---|
86a7a7d9f8 |
@ -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
7
get.py
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user