fix url recover

This commit is contained in:
bakatrouble 2023-11-03 15:57:57 +03:00
parent 992493aa15
commit b3bac5c662

View File

@ -44,7 +44,7 @@ def format_tags(tags: Iterable[str]):
def recover_url(file: E621PostFile):
return f'https://static1.e621.net/data/{file.md5[:2]}/{file.md5[:2:4]}/{file.md5}.{file.ext}'
return f'https://static1.e621.net/data/{file.md5[:2]}/{file.md5[2:4]}/{file.md5}.{file.ext}'
async def send_post(post: E621Post, tag_list: List[str]):