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 hashes)
Built Distribution
Close
Hashes for stima_scraper-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 180e7f51fb4d413f4a7e9aba8af23616491ce04c14d6c92b0a790d86009d46d9 |
|
MD5 | ea6972446fa2dc8be2de5840d4315ec4 |
|
BLAKE2b-256 | 4418755665c1fe158bd5e43314750574d7ec905eb42bbca0bacc034050eadc59 |