AdidasMonitor is a Python script designed to monitor the availability of product sizes on the Adidas website. It uses proxies to make requests and log the available sizes of a specified product.
- Monitors availability of product sizes on Adidas.
- Uses proxies to make requests.
- Logs available sizes and any changes in availability status.
- Configurable product ID and request intervals.
The required Python packages are listed in requirements.txt:
certifi==2024.6.2
charset-normalizer==3.3.2
idna==3.7
requests==2.32.3
tls-client==1.0.1
typing_extensions==4.12.2
urllib3==2.2.2
To install the required packages, run:
pip install -r requirements.txt- Clone the repository:
git clone https://github.com/DieserLaurenz/AdidasMonitor.git
cd AdidasMonitor-
Configure the script:
- Set the
PRODUCT_IDto the desired Adidas product ID inadidasmonitor.py. - Set
USE_PROXIEStoTrueif you want to use proxies, and make sure to add your proxies todata/proxies.txt.
- Set the
-
Run the script:
python AdidasMonitor/adidasmonitor.pyThe script logs information to app.log and the console. It logs the available sizes and any changes in availability status.
AdidasMonitor/adidasmonitor.py: The main script for monitoring product availability.requirements.txt: A list of required Python packages.app.log: Log file (generated during runtime).data/proxies.txt: File containing proxy information.
This project is licensed under the MIT License. See the LICENSE file for details.
Feel free to contribute to this project by opening issues or submitting pull requests.