Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Use python, mySQL database and restlogging to scrape pastebins and save it to the database and disk for any future usage

License

Notifications You must be signed in to change notification settings

jacekmusial/crispy-pastebin-train-anything

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crispy-pastebin-train-anything

Main.py

Fetch, download and insert pastes to the database and disk. It uses restlogging/ as a local logger.

Properties.py

It's a wrapper for Python file config.py, in which we have our values like password, username, etc

Logger.py

Plain wrapper for my other Java project restlogging/, just provide header value and data to the function log() and it'll save given log to the database.

tableP.sql

SQL file to create table used by our scraper to keep information and content of the pastes.

How to run it?

I recommend buying pastebin PRO API and whitelist your computer IP. Then log on to mysql, select database, run file tableP.sql. Fill config.py with values of your own, and run Main.py file :)

About

Use python, mySQL database and restlogging to scrape pastebins and save it to the database and disk for any future usage

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages