https://github.com/initialposition/pastascraper
A script to scrape all the magic pastebin has to offer
https://github.com/initialposition/pastascraper
pastebin pastebin-api scraper
Last synced: 7 months ago
JSON representation
A script to scrape all the magic pastebin has to offer
- Host: GitHub
- URL: https://github.com/initialposition/pastascraper
- Owner: InitialPosition
- License: mit
- Created: 2019-12-26T00:20:45.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-05T08:16:45.000Z (almost 4 years ago)
- Last Synced: 2025-04-06T15:51:04.852Z (11 months ago)
- Topics: pastebin, pastebin-api, scraper
- Language: Python
- Size: 53.7 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://www.python.org/downloads/).
1. Head over to [Releases](https://github.com/Syrapt0r/PastaScraper/releases).
1. Download scraper.py.
1. Run the scraper by typing `python3 scraper.py` in your terminal.
1. s c r a p e
### Notes
Please be aware that you have to whitelist your IP address on the [Pastebin Scraper API website](https://pastebin.com/doc_scraping_api). 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
- [X] Parameter input
- [X] Index for keywords