Amazing-Python-Scripts
Amazing-Python-Scripts copied to clipboard
[Script]: Reddit Website Scraper
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
- [X] I agree to follow this project's Code of Conduct
- [X] I'm a GSSoC'23 contributor
- [X] I want to work on this issue
/assign
@avinashkranjan please assign me this
please allow me the opportunity to work on this
Go Ahead @Salonijain2210
Okay , Thankyou . I will give you update in next 2 days . Will it be fine?