Micro Center Scraper Using Beautiful Soup
Table of Contents
Project Description
This is a simple Python web scraper to monitor prices on Micro Center's online store for a product you may be interested in.
How to Use:
Upon running the program: there will be a prompt to provide a product to search:
- Enter the name of the product and hit Return.
- There will be a list of results with corresponding index values. Provide the index value for the product you want to monitor, and hit Return.
- Enter the price threshold you wish to receive a notification for and hit Return. The program will loop continuously until your product meets or goes below expected price and an email notification will be sent.
Packages Used
- bs4: version 0.0.1
- beautifulsoup4: version 4.7.1
- requests: version 2.22.0
- lxml: version 4.3.4
Installation
Install micro-center-price-monitor with pip:
pip install micro-center-price-monitor
Other Requirements
-
You will need a Gmail Account set up with "Allowing less secure apps to access your account" enabled. This is not recommended for a user's main Gmail account. Using a burner gmail account is recommended in this instance.
-
Include login info in System User Variables:
- "EMAIL_USER" -> set to gmail address
- "EMAIL_PASS" -> set to gmail password
TO-DO LIST:
- Inclusion of pages 2..n for search results longer than 1 page.
Metadata
Release files for micro-center-price-monitor 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| micro_center_price_monitor-0.0.6.tar.gz | 6.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| micro_center_price_monitor-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.9 kB
Release files / micro_center_price_monitor-0.0.6.tar.gz
| Download URL | micro_center_price_monitor-0.0.6.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65b9b628ccb9930846c3753d963f758d53ebab6e90cf91096ba7b6b4b1761a97
|
|
BLAKE2b-256 checksum How to use checksums |
2cd059b461b856b7554f1aff6b2cc1a6b562eec0bd616d26faa47ef288092044
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3
|
Release files / micro_center_price_monitor-0.0.6-py3-none-any.whl
| Download URL | micro_center_price_monitor-0.0.6-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
159a570c78c1362b340b45c58d28774aa7471bd52491c74f7fbe7df86238304e
|
|
BLAKE2b-256 checksum How to use checksums |
54e832b817c734eb1b03afd733401dfe3a5274757148475afecb5a681c0d3c51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3
|
Security for micro-center-price-monitor 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.