SkillAgentSearch skills...

RedditImageScraper

Script to download images from a subreddit.

Install / Use

/learn @ClarityCoders/RedditImageScraper
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<a href="https://youtu.be/HubXt90MLfI" target="_blank"><img src="https://i.imgur.com/sG7xxyc.png" title="Clarity Coders YouTube" /></a>

Create a reddit account!

  • Signup for a reddit account.
  • Select the "Are you a developer? Create an app button" <a href="https://reddit.com/prefs/apps" target="_blank">Here</a>.
  • Give you program a name and a redirect URL(http://<span></span>localhost).
  • On the final screen note your client id and secret.

| Create Account | Access Developer | Name | ID and secret | | --- | --- | --- | --- | | <img src="https://i.imgur.com/l5tWhOW.png" title="source: imgur.com" width="200" height="200" /> | <img src="https://i.imgur.com/Ir7Nqx6.png" title="source: imgur.com" width="200" height="200" /> | <img src="https://i.imgur.com/1hoKGvH.png" title="source: imgur.com" width="200" height="200" /> | <img src="https://i.imgur.com/JmH5vBn.png" title="source: imgur.com" width="200" height="200" /> |

Run download script!

  • Add any subs you want to download to the sub_list.csv one per line.
  • Run SubDownload.py
  • The first time you run the script it will ask you for details. Note you don't need to enter a user name or password if you don't plan on posting.
  • The script will create a token.pickle file so you don't have to enter them again. If you mess up your credentials just delete the pickle file and it will ask for them again.
  • The script will create an images folder and fill it with images it finds. You can change how many posts it checks on each subreddit by changing POST_SEARCH_AMOUNT. Also not note every post is a image post so if you put in 5 it may only find 2 images.

Need more help?

  • YouTube <a href="https://www.youtube.com/claritycoders" target="_blank">Clarity Coders</a>
  • Chat with me! <a href="https://discord.gg/cAWW5qq" target="_blank">Discord</a>

<a href="https://discord.gg/cAWW5qq"><img alt="Discord" src="https://img.shields.io/discord/709518323720912956?label=Discord&logo=discord&logoColor=ffffff&labelColor=7289DA&color=2c2f33"></a>

Related Skills

View on GitHub
GitHub Stars44
CategoryDevelopment
Updated15d ago
Forks23

Languages

Python

Security Score

75/100

Audited on Mar 16, 2026

No findings