avinashkranjan / Amazing-Python-Scripts

🚀 Curated collection of Amazing Python scripts from Basics to Advance with automation task scripts.
https://amazing-python-scripts.avinashranjan.com
MIT License
2.7k stars 1.05k forks source link

[Script]: Reddit Website Scraper #2959

Open jaivsh opened 1 year ago

jaivsh commented 1 year ago

Aim

I'd add the web scraper for the reddit website. Thie would scrape the feeds for a particular query, top feeds, and so on.

Details

I'd add the following functions to reddit:

Methods Details
.getFeed() Returns the posts with title, descriptions, subreddit, subreddit avatar, time, vote and comment count, image, category and link
.get_best() Returns the best posts with title, descriptions, subreddit, subreddit avatar, time, vote and comment count, image, category and link
.get_hot() Returns the hot posts with title, descriptions, subreddit, subreddit avatar, time, vote and comment count, image, category and link
.get_top() Returns the top posts with title, descriptions, subreddit, subreddit avatar, time, vote and comment count, image, category and link
.search(topic) Returns the top posts with title, subreddit, subreddit avatar, date, vote and comment count and link for a searched topic

Record

jaivsh commented 1 year ago

/assign

jaivsh commented 1 year ago

@avinashkranjan please assign me this

Salonijain2210 commented 10 months ago

please allow me the opportunity to work on this

avinashkranjan commented 9 months ago

Go Ahead @Salonijain2210

Salonijain2210 commented 9 months ago

Okay , Thankyou . I will give you update in next 2 days . Will it be fine?