2023-04-23 14:06:11 +00:00
|
|
|
import asyncio
|
2023-08-29 05:15:55 +00:00
|
|
|
|
2023-04-23 14:06:11 +00:00
|
|
|
from func.fetch_all import get_list
|
2023-08-29 05:15:55 +00:00
|
|
|
from func.fetch_avatars import fetch_avatars
|
|
|
|
from func.fetch_light_cones import fetch_light_cones
|
|
|
|
from func.fetch_materials import fetch_materials
|
|
|
|
from func.fetch_relics import fetch_relics
|
2023-04-25 14:40:19 +00:00
|
|
|
from func.fetch_src import move_files
|
2023-04-23 14:06:11 +00:00
|
|
|
|
|
|
|
|
2023-08-29 05:15:55 +00:00
|
|
|
async def wiki():
|
2023-04-23 14:06:11 +00:00
|
|
|
main_data = await get_list()
|
2023-08-29 05:15:55 +00:00
|
|
|
await fetch_avatars(main_data[0])
|
|
|
|
await fetch_light_cones()
|
|
|
|
await fetch_materials()
|
|
|
|
await fetch_relics()
|
2023-04-23 14:06:11 +00:00
|
|
|
|
|
|
|
|
2023-04-24 14:30:16 +00:00
|
|
|
async def bbs_photos():
|
2023-04-25 14:40:19 +00:00
|
|
|
await move_files()
|
2023-04-24 14:30:16 +00:00
|
|
|
|
|
|
|
|
2023-08-29 05:15:55 +00:00
|
|
|
async def main():
|
|
|
|
await wiki()
|
|
|
|
await bbs_photos()
|
2023-04-24 14:30:16 +00:00
|
|
|
|
|
|
|
|
2023-08-29 05:15:55 +00:00
|
|
|
if __name__ == "__main__":
|
|
|
|
asyncio.run(main())
|