Skip to main content

Scapes an entire search page of a particular item on eBay and sends regular updates to an email address

Project description

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.

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

eBay email tracker-0.0.4.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eBay_email_tracker-0.0.4-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file eBay email tracker-0.0.4.tar.gz.

File metadata

  • Download URL: eBay email tracker-0.0.4.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for eBay email tracker-0.0.4.tar.gz
Algorithm Hash digest
SHA256 ab7b6c0acd9d6697e664315af7179118177523d1d3402e3dd9b450c9d3f66c98
MD5 0a43e4488f4da7272ad45f255b1eca96
BLAKE2b-256 ae16608458edf66db8a4bd86348507cb86c5b528511cb4699e9c546a3601b3dc

See more details on using hashes here.

File details

Details for the file eBay_email_tracker-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: eBay_email_tracker-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for eBay_email_tracker-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cc86a7523206a818cf8f39345ded9bdfa11024ba8eb7a131a960d1d50cf21411
MD5 89c48e5d5a541b79231e6ea05fa0bb85
BLAKE2b-256 0a250ebc3d2aa354430dacb2b479b9f68739aeb377ead9c83859d4878b18654e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page