A MuseScore PDF scraper.
Project description
MuseScore Scraper
A MuseScore PDF scraper that serves as both a CLI and Python module. For non-subscription paying users.
Set-up
Run pip install musescore-scraper
in your terminal.
Usage
If as CLI
Execute musescraper <url>
If as Python module
from musescore_scraper import MuseScraper
with MuseScraper() as ms:
ms.to_pdf( <url> )
Custom Output Destination
If as CLI
Execute musescraper <url> -o <output destination>
If as Python module
from musescore_scraper import MuseScraper
with MuseScraper() as ms:
ms.to_pdf( <url>, output= <output destination> )
Debugging
If as CLI
Execute musescraper <url> -d [<log file destination>]
Note that if a log file destination isn't provided, logs will be sent to stderr stream.
If as Python module
from musescore_scraper import MuseScraper
with MuseScraper(debug_log= <log file destination> ) as ms:
ms.to_pdf( <url> )
Note that if a empty string is provided instead, logs will be sent to stderr stream.
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
Close
Hashes for musescore_scraper-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c154aef46a1258f7835ef1b207c72bddd5cd743370c95ff835a602e09bd61d1 |
|
MD5 | 921b2e3f1a558aa56d99cc2f4039368f |
|
BLAKE2b-256 | 5d567d93cae3b9b032f09bd1508b890f47e20c6f09b1f780c7c71c69b25f35fc |