![]() ![]() Reader return RedditContent which have following information ( extracted_text and image_alt_text are extracted from Reddit content via BeautifulSoup) - class RedditContent: # If `after` is passed then it will fetch contents after this date # If `since_id` is passed then it will fetch contents after this id # fetch_content will fetch all contents if no parameters are passed. Since_time = datetime.utcnow().astimezone(pytz.utc) timedelta(days=- 5) # To consider comments entered in past 5 days only Now you can run the following example - import pprintįrom reddit_rss_reader.reader import RedditRSSReader For example to fetch all comments on subreddit r/wallstreetbets. RedditRSSReader require feed url, hence refer link to generate. Install from master branch (if you want to try the latest features): git clone Install via PyPi: pip install reddit-rss-reader For serious scrapping register your bot at apps to get client details and use it with Praw. *Note: These feeds are rate limited hence can only be used for testing purpose. For more details about what type of RSS feed is provided by Reddit refer these links: link1 and link2. It can be used to fetch content from front page, subreddit, all comments of subreddit, all comments of a certain post, comments of certain reddit user, search pages and many more. AMD Radeon Software Adrenalin 22.7.This is wrapper around publicly/privately available Reddit RSS feeds.GPU Shark 0.27 released (Updated: v0.27. ![]()
0 Comments
Leave a Reply. |