Skip to content

Instantly share code, notes, and snippets.

View kungming2's full-sized avatar

kungming2

View GitHub Profile
#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
import datetime
import praw
import requests
import time
SUBREDDIT = "" # CHANGE
USERNAME = "" # CHANGE
PASSWORD = "" # CHANGE
import difflib
import praw
def unique_fetched():
master_dict = {}
times_to_check = 11
i = 0
fetch_limit = 151
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):