Reddit API CSV Export Script

Заказчик: AI | Опубликовано: 18.12.2025
Бюджет: 250 $

I need a small script that I can run locally on my Windows 11 machine to pull the latest Reddit posts that match a keyword I supply, then write the results to a CSV file. Language and input method are flexible. Python with PRAW, Node JS with snoowrap, even a quick Ruby solution are all fine as long as the setup is straightforward. Core flow • On launch, the script should let me set a keyword (it can be hard-coded, prompted, or read from a small config file). • Using Reddit’s official API, search across all subreddits for the most recent posts containing that keyword. • For every post found, capture these exact fields: post_id, post_url, user_profile (author username or profile link), post_content (full body including any embedded links), time, and date. • Export everything to a CSV named after the keyword, saved in the same directory. Deliverables • Source code and any dependency list / requirements file. • A short README explaining how to create an app in Reddit, paste the client_id / secret, and run the script on Windows 11 VS Code, PowerShell, Start.bat or Command Prompt. • One sample CSV produced from a test keyword to confirm formatting. (limit testing to 10 rows) Acceptance criteria – Script runs without errors on a clean Windows 11 install once dependencies are installed. – CSV columns appear exactly in the order listed above. – At least ten recent matching posts are returned when the keyword exists on Reddit. If this is clear, just send over the code and quick setup notes and we’re done.