update image
This commit is contained in:
parent
043739193f
commit
68f475f6e5
|
@ -18,7 +18,7 @@ source ./run.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
![image](https://user-images.githubusercontent.com/46262811/131577640-a3103ff2-af37-422d-96f1-60f1acdef939.png)
|
![screenshot](./img.png)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ def get_image(url):
|
||||||
|
|
||||||
response = requests.get(url)
|
response = requests.get(url)
|
||||||
response.raw.decode_content = True
|
response.raw.decode_content = True
|
||||||
|
|
||||||
print(Fore.GREEN + "✨ > Downloaded!")
|
print(Fore.GREEN + "✨ > Downloaded!")
|
||||||
print(Style.RESET_ALL)
|
print(Style.RESET_ALL)
|
||||||
print(datetime.datetime.now())
|
print(datetime.datetime.now())
|
||||||
|
@ -96,9 +96,9 @@ def get_new_posts(mastodon, mastodon_carousel_size, post_limit, already_posted_
|
||||||
toot(urls, post.caption, mastodon, fetched_user)
|
toot(urls, post.caption, mastodon, fetched_user)
|
||||||
else:
|
else:
|
||||||
toot(url_arr, post.caption, mastodon, fetched_user)
|
toot(url_arr, post.caption, mastodon, fetched_user)
|
||||||
mark_as_posted(str(post.mediaid), already_posted_path)
|
mark_as_posted(str(post.mediaid), already_posted_path)
|
||||||
time.sleep(post_interval)
|
time.sleep(post_interval)
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
print(Fore.GREEN + "✨ > Fetched All")
|
print(Fore.GREEN + "✨ > Fetched All")
|
||||||
print(Style.RESET_ALL)
|
print(Style.RESET_ALL)
|
||||||
|
|
Loading…
Reference in New Issue