{"repo":"datavorous/yars","free":true,"listed":false,"github":"https://github.com/datavorous/yars","clone":"git clone https://github.com/datavorous/yars.git","description":"Yet Another Reddit Scrapper (without API keys) | Scrap search results, posts and images from subreddits filtered by hot, new etc and bulk download any user's data.","language":"Python","stars":227,"topics":["api","data-mining","hoarding","json","python","reddit","reddit-api","reddit-downloader","reddit-scraper","requests"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Sponsored by CoreClaw Stop maintaining scrapers. Get production ready data from Reddit, Google Maps, YouTube, Instagram, LinkedIn, Amazon and more. FREE Credits for Every New Account. Free Start here: CoreClaw --- YARS (Yet Another Reddit Scraper) YARS is a Python package designed to simplify the process of scraping Reddit for posts, comments, user data, and other media. The package also includes utility functions. It is built using Python and relies on the requests module for fetching data from Reddit’s public API. The scraper uses simple .json requests, avoiding the need for official Reddit API keys, making it lightweight and easy to use. Features - Reddit Search : Search Reddit for posts using a keyword query. - Post Scraping : Scrape post details, including title, body, and comments. - User Data Scraping : Fetch recent activity (posts and comments) of a Reddit user. - Subreddit Posts Fetching : Retrieve posts from specific subreddits with flexible options for category and time filters. - Image Downloading : Download images from posts. - Results Display : Utilize Pygments for colorful display of JSON-formatted results. [!WARNING] Use with rotating proxies, or Reddit might gift you with an IP ban. I could extract max 2552 posts at once from 'r/all' using this. Here is a 7.1 MB JSON file containing the top 100 posts from 'r/nosleep', which included post titles, body text, all comments and their replies, post scores, time of upload etc. Dependencies - requests - Pygments Inst","default_branch":null,"files":null,"tree":[],"storefront":"/r/datavorous","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/datavorous/yars/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}