An automated monitoring tool that brings OLX marketplace updates directly to your Discord server. Perfect for tracking specific items or categories with instant alerts.
- Smart Scraping: Efficiently parses OLX search results for new entries.
- Subscription System: Users can subscribe to specific search queries.
- Database Integration: Maintains an
olx_offers.dbto track history andolx_subscriptions.dbfor user preferences. - Reliable Persistence: Handles state across restarts using SQLite and JSON caching.
- Language: Python 3.x
- Core:
discord.py - Scraping:
requests,BeautifulSoup4 - Storage: SQLite & JSON
- Clone:
git clone https://github.com/kkkwbm/Discord_Olx_Bot.git - Dependencies:
pip install -r requirements.txt - Security: Add your
DISCORD_TOKENto your environment variables (do not hardcode it inmain.py). - Execution:
python main.py
This project is for educational purposes only. Scraper logic is intended to demonstrate web automation techniques.
Please be aware that automated scraping of OTOMOTO/OLX may violate their Terms of Service. The author is not responsible for any misuse of this software, account bans, or legal consequences resulting from its use. Use it at your own risk and respect the websites' robots.txt and rate limits.