Refactored my reddit scraper/URL cleanup scripts