Scrape all public Pastebin pastes from a user.
Project description
The Pastebin Bisque is a small Python utility that uses BeautifulSoup to scrape a user’s Pastebin profile. All public pastes from that user are downloaded to disk. Optionally, the pastes can be saved to a single .zip file.
There is no rate-limiting protection built-in. Read about the Pastebin Request Limits if you anticipate generating a large number of requests. The file name provided by the Pastebin user will be prepended with the short URL that Pastebin provides. This allows a single directory with all pastes and no duplicates and makes the original URL fairly easy to reconstruct.
TL;DR - Scrape all public Pastebin pastes from a user.
Free software: GNU Lesser General Public License v3 or later (LGPLv3+)
📦 Installation
pip install pastebin-bisque
📚 Documentation
💻 Development
To run all the tests run:
tox
Consider using this to run the tests in parallel:
tox -p auto
Note, to combine the coverage data from all the tox environments run:
Windows |
set PYTEST_ADDOPTS=--cov-append tox |
---|---|
Other |
PYTEST_ADDOPTS=--cov-append tox |
Changelog
1.0.0 (09/10/2023)
v1.0.0: 🍰 Now On PyPI
With this release, pastebin-bisque is now available on PyPI. You can install it with:
pip install pastebin-bisque
This release is timed as an early celebration of the 🦄🌈 original author’s 🍰 birthday.
0.3.0 (12/11/2022)
v0.3.0: 🤖🤝 Human and Bot Friendly
This release is friendly for both humans and machines. Thanks to your feedback, I pushed a new release that should make for a much better experience all around.
What’s Changed
0.2.0 (05/13/2020)
v0.2.0: Tidied Up
This version has neater output.
0.1.0 (03/01/2020)
v0.1.0: Inaugural Release
This is the first release of Pastebin Bisque! All of the initial bugs have been squashed! There is documentation and a demo. 😸
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pastebin_bisque-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 237005a7956124f8f2a4ccada7cf95f0e69786009d5e502f696f4161da413a58 |
|
MD5 | 01b37035caa0e3f66a04fce61f7fca85 |
|
BLAKE2b-256 | ade0e99ce1f587a2323705c6a4a42cb1695bd14940d8f85afbf28a29d6931417 |