A simple webpage contents tracker by monitoring contents periodically, as long as the webpage is public to unregistered users. For example, it can be used for tracking stocks of a specific product.
python3 -m webpage-tracker
- Add unit tests
- Improve network I/O efficiency by using coroutines (
asyncio
) - Logging
- Random delay
- Move configurations from hard-coded
enum
to.json
file
- Target item URLs
- Common HTTP requester
- Webpage parser (individual)
- Detect stock
- Notifier
Parsed from JSON config file.
Get webpage or other forms of responses by URLs.
Detect any distinguishing information about remnant stock of the product.
Each site needs a separate parser in general.
A common mechanism.
Notify by messages, volume or other methods.