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.
Source Distribution
Built Distribution
Hashes for tx_elections_scrapers-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7aa38f02e5953d86e736750c75e3fd3c5f6fe6c7ac0c6d1ab397481b53cfc401 |
|
MD5 | f9a7e1a5ddff7b39110a42d39ca46564 |
|
BLAKE2b-256 | e340b6dcd1e0549f09700c64481317b9c8ac6e354bfb2166c2b1372b2d234930 |
Hashes for tx_elections_scrapers-0.1.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 075506a09280afaa216728a05b1ab71e2243cb86e4c69c6875801560d35f0ccc |
|
MD5 | aa5528fb980a893caf24f22199b48983 |
|
BLAKE2b-256 | 2282e71e7d3d1a2f4c5e260b9a5ac5fc8e6daacb73908259be30cf28fba74ce1 |