Scrapers for Texas elections results
Project description
Hi. This is just me fooling around trying to come up a better way to scrape election results. The tricky logic has been refined in other Texas Tribune projects, but they were deeply tied to other logic.
The idea is to split the process up into multiple logical steps that other people might find useful:
- Ingest results: Typically either with curl or cat or anything that pipes output to stdout.
- Serialize the output html as JSON: Does not attempt to extract information. Just separates data from the html. This is the hard part that scrapers have trouble with.
- Interpret the serialized output: Turns the raw serialized data into something you might expect to see from a nice API.
In a Extract, transform, load (ETL) process, this just covers the extractions, with support for minor transforming.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size tx_elections_scrapers-0.4.0-py2-none-any.whl (18.8 kB) | File type Wheel | Python version 2.7 | Upload date | Hashes View hashes |
Filename, size tx_elections_scrapers-0.4.0.tar.gz (12.4 kB) | File type Source | Python version None | Upload date | Hashes View hashes |
Close
Hashes for tx_elections_scrapers-0.4.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3863993c9f9fa46bec45f1ba6a24ba87ff22c6136b978ff8e3e79edb9b839ff1 |
|
MD5 | 57fb6b48b5b8f298097eb9cb23b17c68 |
|
BLAKE2-256 | 77df98dea28aa70bc8a1c58ff4d6a1181a7e3532b31e7a96dfb3937ce99df2dd |
Close
Hashes for tx_elections_scrapers-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 397ca16131c3ef07e8857356d753f39c9067950598d125aee2172f2f080888b3 |
|
MD5 | bfbf2684f9b098034d0dde954a154426 |
|
BLAKE2-256 | 7c6610a350cf05a8e7c1da0cf2ab45f60344fe3ddafb7dd1981655712c3cdbc1 |