Skip to content


MIT 9 9 157
216 (month) Dec 11 2020 2.0.7(1 year, 4 months ago)
10,458 3 52 MIT
1.1.9(5 years ago) Aug 24 2018 305 (month)

ExtractNet is an automated web data extraction tool using machine learning to parse HTML and text data.

This tool can be used in web scraping to automatically extract details from scraped HTML documents. While it's not as accurate as structured extraction using HTML parsing tools like CSS selectors or XPath it can still parse a lot of details.

Photon is a Python library for web scraping. It is designed to be lightweight and fast, and can be used to extract data from websites and web pages. Photon can extract the following data while crawling:

  • URLs (in-scope & out-of-scope)
  • URLs with parameters (
  • Intel (emails, social media accounts, amazon buckets etc.)
  • Files (pdf, png, xml etc.)
  • Secret keys (auth/API keys & hashes)
  • JavaScript files & Endpoints present in them
  • Strings matching custom regex pattern
  • Subdomains & DNS related data

The extracted information is saved in an organized manner or can be exported as json.

Example Use

import requests
from extractnet import Extractor

raw_html = requests.get('').text
results = Extractor().extract(raw_html)
{'phone_number': '555-555-5555', 'email': ''}
from photon import Photon

#Create a new Photon instance
ph = Photon()

#Extract data from a specific element of the website
url = ""
selector = "div.main"
data = ph.get_data(url, selector)

#Print the extracted data

#Extract data from multiple websites asynchronously
urls = ["", ""]
data = ph.get_data_async(urls)

Alternatives / Similar