changed url

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-05 13:52:32 +02:00
parent 21d43e906e
commit e5f29624ff
2 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,7 @@ reddit = praw.Reddit(client_id="TB3qNrAO2cnRkpmI-Vd8hg",
with open(current_path+"/used-posts.json", "r") as used_posts_file: with open(current_path+"/used-posts.json", "r") as used_posts_file:
used_posts = json.load(used_posts_file) used_posts = json.load(used_posts_file)
debugging_message("Getting a post from r/"+subreddit_name) debugging_message("Getting a post from "+subreddit_name)
subreddit = reddit.subreddit(subreddit_name) subreddit = reddit.subreddit(subreddit_name)
hot_post = subreddit.hot() hot_post = subreddit.hot()
for post in hot_post: for post in hot_post:

1
used-posts.json 100644
View File

@ -0,0 +1 @@
{"ids": []}