This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: UTF-8 -*- | |
import datetime | |
import praw | |
import requests | |
import time | |
SUBREDDIT = "" # CHANGE | |
USERNAME = "" # CHANGE | |
PASSWORD = "" # CHANGE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import difflib | |
import praw | |
def unique_fetched(): | |
master_dict = {} | |
times_to_check = 11 | |
i = 0 | |
fetch_limit = 151 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import datetime | |
subreddits = ["livepd", "liverescue"] # ADD TO THIS | |
amount_of_results = 15 | |
header = "| # Comments | Post & Link | Date |\n|------------|-----------|------|\n" | |
line_format = '| {:,} | [{}]({}) | {} |' | |
def get_most_commented(subreddit_name): |