Search-Scan-Save-Notify
A program to scrape online web-content (APIs, RSS Feeds, or Websites) and notify if search term was hit.
Due to security concern, all errors are logged via email 📧 and are not displayed at GUI.
Scrape news sites and custom RSS feeds, detect keyword hits or page changes.
Optional: Translate with IBM Watson (or Google) before searching.
- PHP Server
php-curl- PHPMailer
- Cron job
- Fetch a hardcoded URL via cURL; save snapshot in
comparison/ - After interval (cron), fetch again & compare to last snapshot
- If identical → exit
- If changed → search
search.phpterms- No match → exit
- Match → archive new snapshot in
dumps/(timestamped filename) + send email (or Slack/Telegram)
- Repeat
- Translate site content via IBM Watson API, then search the translated text.
Integrate with xss.is (Russian hacking platform).
- watsonlate.php
- Line 2: set
$turl - Line 3: translation model (e.g.
ru-en) - Line 12: your auth token (free trial: 20 000 words/mo; max 2 runs/day)
- Line 2: set
- search.php
- One keyword per line (case-insensitive).
$qqappears in email subject.
- One keyword per line (case-insensitive).
- principal.php
- Line 6: target URL
- Line 11: your email
- index.php
- Hit via cron; lines 6–9 drive the process. First/last lines log runtime.
Bugs or optimizations → contact form on aamershah.com.
Code uploaded with sensitive info removed; hope nothing critical got stripped.