You've already forked JapariArchive
hotfix
This commit is contained in:
@@ -49,7 +49,7 @@ async def GetTweetMediaUrls(tweet : Tweet):
|
|||||||
|
|
||||||
async def DownloadMedia(post_id, account_id, account_name, url_list : list, session) -> list[DownloadedMedia]:
|
async def DownloadMedia(post_id, account_id, account_name, url_list : list, session) -> list[DownloadedMedia]:
|
||||||
result : list[DownloadedMedia] = []
|
result : list[DownloadedMedia] = []
|
||||||
path = f"{Global_Config("x_download_path")}{account_id}"
|
path = f"{Global_Config["x_download_path"]}{account_id}"
|
||||||
os.makedirs(path, exist_ok=True)
|
os.makedirs(path, exist_ok=True)
|
||||||
|
|
||||||
for idx, file_url in enumerate(url_list):
|
for idx, file_url in enumerate(url_list):
|
||||||
|
|||||||
Reference in New Issue
Block a user