diff --git a/README.md b/README.md index a323e4c..4a40428 100755 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ source ./run.sh ``` -![image](https://user-images.githubusercontent.com/46262811/131577640-a3103ff2-af37-422d-96f1-60f1acdef939.png) +![screenshot](./img.png) diff --git a/img.png b/img.png new file mode 100644 index 0000000..4287e60 Binary files /dev/null and b/img.png differ diff --git a/src/network.py b/src/network.py index 954119c..45765e1 100644 --- a/src/network.py +++ b/src/network.py @@ -25,7 +25,7 @@ def get_image(url): response = requests.get(url) response.raw.decode_content = True - + print(Fore.GREEN + "✨ > Downloaded!") print(Style.RESET_ALL) 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) else: 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) - else: + else: break print(Fore.GREEN + "✨ > Fetched All") print(Style.RESET_ALL)