Introduction
This is a based learning project I built to learn more about scraping websites, manipulating data, and delivering it through a medium.
The program tracks an entire eBay search page of a particular item and sends automated updates to an email with the respective link and price to each entry.
The program asks you for:
- The item you want to track
- How many hours do you want between updates
- The range of price
- The email address you would like to receive the updates to
Installation
The program only works locally. It will create a CSV file in the current directory the program is run from with all the data.
If you would like to test the program, you need to:
pip install eBay_email_tracker
from ebay_email_tracker import tracker
tracker()
Set environmental variables in your Windows Operating System:
| Variable | Value | |
|---|---|---|
| EBAY_TRACKER_EMAIL | An email you want to send the information from | |
| EBAY_TRACKER_PASSWORD | Password to that email |
The program depends on these packages:
- Numpy
- BeautifulSoup
- lxml
- requests
- Pandas
The program is not intended for personal or commercial use.
Improvements:
- I realized that the program will often send entries that are no longer available. While the program sleeps, I could check each entry that was not seen in the most recent search, and see if it has its price listed. If not, delete it from the data.
- Currently, the only way to close the program would be to interrupt it and close it. I could implement a way for the user to close the program if he or she desires to.
- While the program is running, there is nothing telling the user that it is working apart from the first email sent. The program will stay the same for the whole duration. I could print statements to the user, so he knows the program is working as intended.
- The program only works locally. I could implement a database that tracks the item of different users, and sends that information without storing each entry locally, but that would be a completely different project.
Release files for eBay-email-tracker 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| eBay email tracker-0.0.4.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| eBay_email_tracker-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.9 kB
Release files / eBay email tracker-0.0.4.tar.gz
| Download URL | eBay email tracker-0.0.4.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab7b6c0acd9d6697e664315af7179118177523d1d3402e3dd9b450c9d3f66c98
|
|
BLAKE2b-256 checksum How to use checksums |
ae16608458edf66db8a4bd86348507cb86c5b528511cb4699e9c546a3601b3dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|
Release files / eBay_email_tracker-0.0.4-py3-none-any.whl
| Download URL | eBay_email_tracker-0.0.4-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc86a7523206a818cf8f39345ded9bdfa11024ba8eb7a131a960d1d50cf21411
|
|
BLAKE2b-256 checksum How to use checksums |
0a250ebc3d2aa354430dacb2b479b9f68739aeb377ead9c83859d4878b18654e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|