Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stevenmirabito/egc-extractor
A simple Python script to extract data from eGift cards sent by various Blackhawk Network affiliates
https://github.com/stevenmirabito/egc-extractor
Last synced: 12 days ago
JSON representation
A simple Python script to extract data from eGift cards sent by various Blackhawk Network affiliates
- Host: GitHub
- URL: https://github.com/stevenmirabito/egc-extractor
- Owner: stevenmirabito
- License: mit
- Created: 2017-03-26T21:40:03.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2022-08-19T22:52:52.000Z (about 2 years ago)
- Last Synced: 2023-10-25T21:20:16.407Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 99.6 KB
- Stars: 13
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eGift Card Extractor
This script will attempt to extract the card type, amount, number, and PIN
given the claim emails sent by various Blackhawk Network affiliates and write
it to a CSV. The script will also take a screenshot of each card and save it
to `screenshots` in the current working directory.## Installation
Download or clone this repo and install [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/).
Copy `config.sample.py` to `config.py` and update the configuration as needed,
ensuring that `CHROMEDRIVER_PATH` is a fully-qualified path to the ChromeDriver
binary. Install the dependencies with `pipenv install`.## Caveats
Different eGCs may have slightly different page layouts, which might break
this script. To modify the script for a card with a different layout, inspect
the element and copy its XPath, then replace the appropriate XPath in the
script with the one from the page.