A simple kplc pdf scraper
Project description
Stima Scraper
Description
Stima scraper extracts and pulls scheduled power interruptions pdf data off KPLC's website.
Prerequisites
- Python3
Installation
$ pip install stima-scraper
Usage
from pathlib import Path
from stimascraper.scraper import StimaScraper
# PDF storage directory you can define your own path here
PDF_FILE_PATH = Path(__file__).parent.joinpath("pdfs")
def main():
scraper = StimaScraper(pdf_path=PDF_FILE_PATH)
scraper.scrape()
if __name__ == "__main__":
main()
Demo
Built with
License and Copyright
Copyright 2022 Daniel Chege Nduati
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
stima_scraper-1.0.4.tar.gz
(37.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file stima_scraper-1.0.4.tar.gz.
File metadata
- Download URL: stima_scraper-1.0.4.tar.gz
- Upload date:
- Size: 37.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec22aa6890ea165237c94b893c7e70250335dacb4f31f15c6bf4942bd293f3f5
|
|
| MD5 |
6b6ba5826978e5603adde397e97c4969
|
|
| BLAKE2b-256 |
8e112408296cbb7abb98211b5618deb86a2c227fd19b3027df2f95334877e313
|
File details
Details for the file stima_scraper-1.0.4-py3-none-any.whl.
File metadata
- Download URL: stima_scraper-1.0.4-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
180e7f51fb4d413f4a7e9aba8af23616491ce04c14d6c92b0a790d86009d46d9
|
|
| MD5 |
ea6972446fa2dc8be2de5840d4315ec4
|
|
| BLAKE2b-256 |
4418755665c1fe158bd5e43314750574d7ec905eb42bbca0bacc034050eadc59
|