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
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 tx_elections_scrapers-0.4.1.tar.gz.
File metadata
- Download URL: tx_elections_scrapers-0.4.1.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4e1f077b8eb2d4a33664c3b13c0d50b71b4452cb3f9a1e68d3540d6ab608d6c
|
|
| MD5 |
2c0f70c81935149514764cfda6b57340
|
|
| BLAKE2b-256 |
6d869a48ca92cba88bd71e35f548e40a870d8cf088d00c748bf1a8ed7cba923b
|
File details
Details for the file tx_elections_scrapers-0.4.1-py2-none-any.whl.
File metadata
- Download URL: tx_elections_scrapers-0.4.1-py2-none-any.whl
- Upload date:
- Size: 19.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b957b7c7c147def6fba69b6c46ba1643339bfcd5ac14be46ac884dba066644d
|
|
| MD5 |
40ac3dd259f1e8a7065f1bd30a2e2332
|
|
| BLAKE2b-256 |
a2ab47a9874b1b485c5845836cb3c2cc68edb903df09c094e0207f82748c573a
|