█

AI/TLDR

Buy me a coffee
Buy me a coffee

Photon

Fast Python web crawler for OSINT that extracts URLs, emails, files, and more

Web Scraping & CrawlingOpen source
Language
Python
License
GPL-3.0
$git clone https://github.com/s0md3v/Photon.git
IN SHORT

What is Photon?

Photon is a Python web crawler built for OSINT (open-source intelligence) work. It sits in the Web Scraping & Crawling category of the Data & Labeling tools and is open-source, written in Python and licensed GPL-3.0. To get started: clone the repository.

Overview

Photon is a Python web crawler built for OSINT (open-source intelligence) work. As it walks a website, it collects useful data such as in-scope and out-of-scope URLs, URLs with parameters, emails and social media accounts, files like PDFs and images, exposed API keys and hashes, JavaScript files and their endpoints, and subdomain/DNS information. The results are saved in an organized folder and can also be exported as JSON.

It is aimed at security researchers, bug bounty hunters, and anyone who needs to map a site and pull structured data out of it. You run it from the command line against a target URL, and it does the crawling and extraction for you.

Within the web scraping and crawling category, Photon focuses on reconnaissance rather than general-purpose page scraping. It uses threaded crawling for speed and offers options to control timeout, delay, seeds, and URL exclusion, plus plugins for archive.org seeds and DNS dumping.

What it does

  • Extracts URLs (in-scope and out-of-scope), including URLs with query parameters
  • Finds intel such as emails, social media accounts, and storage buckets while crawling
  • Collects files (pdf, png, xml, etc.), secret/API keys, hashes, and JavaScript endpoints
  • Discovers subdomains and DNS-related data
  • Threaded crawling with options for timeout, delay, seeds, and regex-based URL exclusion
  • Plugins for wayback (archive.org seeds) and dnsdumpster, plus JSON export and Docker support

Getting started

Photon runs as a Python script you clone from GitHub, then point at a target URL from the command line.

Clone the repository

Download Photon from GitHub and enter the project directory.

bashbash
git clone https://github.com/s0md3v/Photon.git
cd Photon

Crawl a target URL

Run the script with -u and the site you want to crawl. Extracted data is saved in an organized folder named after the target.

bashbash
python photon.py -u google.com

Run with Docker (optional)

Build the lightweight Python-Alpine image and run a crawl in a container. Mount a folder to view the results locally.

bashbash
docker build -t photon .
docker run -it --name photon -v "$PWD:/Photon/google.com" photon:latest -u google.com

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Reconnaissance during a bug bounty or penetration test to map a target site's URLs and endpoints
  • Finding exposed emails, API keys, or sensitive files left in a site's pages and scripts
  • Discovering subdomains and DNS data as part of an OSINT investigation
  • Seeding a crawl from archive.org to find historical URLs that are no longer linked

How Photon compares

Photon alongside other open-source web scraping & crawling tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Firecrawl★ 214kA crawling service and API that converts whole websites into clean Markdown or structured JSON ready for LLMs.
Agent Reach★ 116kA capability layer that installs, health-checks and routes readers so a CLI agent can read and search web pages, YouTube, RSS, GitHub, Reddit, Twitter/X and more without API fees.
Scrapling★ 107kA Python web scraping framework whose parser relocates your elements when pages change, with stealthy fetchers and a Scrapy-like spider engine for full crawls.
Crawl4AI★ 88.2kA local-first Python web crawler that turns pages into clean Markdown for use in RAG and LLM pipelines.
Scrapy★ 65.7kA mature Python framework for writing fast spiders that crawl websites and extract structured data at scale.
changedetection.io★ 36.1kA self-hosted web page change monitor with XPath/CSS/jq filters, browser steps and restock alerts, which can route every diff through an LLM to suppress noise.
ScrapeGraphAI★ 33kA Python library that uses LLMs and a graph pipeline to extract data from pages based on natural-language prompts.
Photon★ 13.4kFast Python web crawler for OSINT that extracts URLs, emails, files, and more