Skip to content

A script to scrape all the magic pastebin has to offer

License

Notifications You must be signed in to change notification settings

InitialPosition/PastaScraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PastaScraper

A script to scrape all the magic pastebin has to offer

Usage

  1. Make sure you have python installed. Run python3 -V in a terminal. If it shows a version number, you're good to go. Otherwise, download Python from the official website.
  2. Head over to Releases.
  3. Download scraper.py.
  4. Run the scraper by typing python3 scraper.py in your terminal.
  5. s c r a p e

Notes

Please be aware that you have to whitelist your IP address on the Pastebin Scraper API website. I will not take responsibility if you get banned from the scraper API or if this script downloads a super virus to your hard drive. You also have to install some modules for this script to work. You can do this by running python3 -m pip install -r requirements.txt in the repository directory.

Parameters

Parameters are back baby

Parameter Optional? Default Effect
-k / --keywords Yes None A file containing keywords to scrape for. One keyword per line.
-i / --infinite Yes False Whether to run in infinite mode or in keyfile mode
-nS / --noSorting Yes False Whether to sort keyword pastes into subdirectories

Roadmap

  • Parameter input
  • Index for keywords