fix url recover
This commit is contained in:
parent
992493aa15
commit
b3bac5c662
2
main.py
2
main.py
@ -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]):
|
||||
|
Loading…
Reference in New Issue
Block a user