Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Iran-War-Media — Iran War Media Monitor collects news articles covering the US-Israeli war on Iran and applies sentiment analysis to uncover who supports and opposes the war. | Kitploit
Tools/GitHubGitHub/albintouma/iran-war-media
OSINT (Open Source Intelligence)Information GatheringThreat IntelligencePapers & ResearchLearning & EducationCrawler
GitHubalbintouma/iran-war-media

Iran-War-Media

Iran War Media Monitor collects news articles covering the US-Israeli war on Iran and applies sentiment analysis to uncover who supports and opposes the war.

View Repository
19127 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Iran War Media Monitor

Subscribe to newsletter

Read the Full Deep Dive

Khamenei palace destroyed sourced from npr

Introduction

This project monitors news coverage of the war between Iran, Israel, and the United States.

You can use this repository to:

  1. Create a corpus of media articles in English
  2. Identify authors and news media outlets to keep track of who says what and when
  3. Sentiment analysis of articles to identify if an article supports the war, is factual and netural, or opposes the war.

Methodology

You can read the full technical deep dive here. In summary, Iran Media Monitor executes two workflows.

First workflow runs the scraper that collects meta data and news articles from RSS feeds. The feed is set to Google RSS but you can change feed in rss.py.

Second workflow performs sentiment analysis on collected articles and upserts articles.

alt text

The project uses MongoDB to store articles. Use Docker to create an instance of MongoDB.

Data

The following data points are collected:

root@kitploit:~
        {
                "collectionDate": str(datetime.now(timezone.utc).strftime("%Y-%m-%d %H:%M:%S")),
                "processed": False,
                "title": article.title,
                "author": article.authors,
                "publishedAt": str(article.publish_date),
                "publisher": publisher, 
                "language": article.meta_lang,
                "sourceUrl":article.source_url,
                "summary":article.summary,
                "keywords": article.keywords,
                "description": article.meta_description,
                "bodyText":article.text,
                }


The scripts:

Run rss.py to get a list of the latest articles from RSS feed.

Run scraper.py to get urls from Google RSS and scrape the articles.

Use sentiment.py to perform sentiment analysis on unprocessed articles. The process field is set to True when a document has received a sentiment score.

Future improvements

  1. Add the ability to scrape more RSS feeds
  2. Custom model to identify relevancy of news articles for filtering purposes
  3. Custom model to better predict tonality of articles (pro, opposed, factual)
  4. Extract entities and relationships and who did what, when, where and to whom.
  5. Generative AI analyses of the articles (both separate and of the whole corpus).
Download Tool