parent
21d43e906e
commit
e5f29624ff
|
@ -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:
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
{"ids": []}
|
Loading…
Reference in New Issue