Skip to content

Continuously monitors Divar posts across multiple pages for keywords, sending real-time Discord notifications for new or updated posts.

Notifications You must be signed in to change notification settings

GhostFlagged/DivarTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DivarThreadHunting

A Python tool that monitors Divar (Iranian second-hand marketplace) for posts matching specific keywords and sends real-time Discord notifications when new posts are found or existing posts are updated. It is designed for tracking potentially suspicious or phishing ads while maintaining historical records for analysis.

Features

Automated Monitoring: Continuously scans Divar posts across multiple pages.

Keyword Filtering: Detects posts containing specific keywords (default: Telegram-related terms).

Change Detection: Identifies updates to existing posts (title, price, location changes).

Discord Notifications: Sends real-time notifications via Discord webhooks.

Multithreaded Fetching: Efficient concurrent scanning of multiple pages.

Local Storage: Saves post data and notification logs locally.

Smart Diffing: Detects meaningful changes while ignoring irrelevant updates.

Configuration

Edit config.py to customize the monitoring:

# Pages to scan
PAGE_START = 1
PAGE_END = 3   # scans pages 1 to 2

# Scan interval in seconds
SCAN_INTERVAL = 60

# Discord webhook URL
WEBHOOK_URL = "https://discord.com/api/webhooks/YOUR_WEBHOOK_URL"

# City ID (4 = Tehran)
CITY_ID = "4"

# Keywords to filter posts (empty list = match all)
KEYWORDS = [
    "تلگرام",
    "ایدی تلگرام",
    "آیدی تلگرام",
]

# Number of threads for concurrent fetching
THREAD_COUNT = 10

About

Continuously monitors Divar posts across multiple pages for keywords, sending real-time Discord notifications for new or updated posts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages