Extraction
Extraction reads the pages of every site in a cluster and turns them into a table: the organization's name, contacts, social profiles, address, languages, registration numbers - and anything else your own expression finds in the code.
What it reads
Everything PublicWWW has indexed for those sites, internal pages included - not only the home page a search matched on. A contact detail that only appears on an "about" page is still found.
What to extract
Tick what you need; each ticked group adds a column or two to the table, in this order:
| Group | Columns | Where it comes from |
|---|---|---|
| Organization | name, kind | The organization's name and kind of business (Dentist, Restaurant, Hotel...) from schema.org markup |
| Social | social | Links to the site's profiles on Facebook, Instagram, X, LinkedIn, YouTube, TikTok, Pinterest, Threads, Bluesky, Reddit, GitHub, Discord and more, regional ones too - VK, OK, Weibo, Bilibili, Zhihu, Naver, Dzen |
email | mailto: links, schema.org email, addresses hidden by Cloudflare | |
| Phones | phone | tel: links and schema.org telephone |
| Messengers | messengers | Links to WhatsApp, Telegram, Viber, LINE, KakaoTalk, WeChat, Messenger, Signal, Zalo, Threema |
| Address | address, coordinates | The postal address from schema.org markup; the point on an embedded map (Google, Yandex, OpenStreetMap) or in geo tags, as latitude and longitude |
| Apps | apps | Links to the site's apps in Google Play, the App Store, AppGallery, Microsoft Store, RuStore, Galaxy Store, Chrome Web Store, Firefox Add-ons |
| Languages | languages | Languages of the pages, as two-letter codes, from <html lang>, hreflang and og:locale |
| Registration numbers | registration | Company and tax numbers written next to their name: VAT, HRB, SIREN and SIRET, KvK, Company No, CNPJ, ABN, ИНН and ОГРН, ICP and others, and schema.org vatID, taxID; where a number has a check digit, it is checked |
The groups read links and markup in the page code, not its text: an email address or a phone number written only as text needs your own expression. Accounts that stand on thousands of unrelated sites - parked domains, hosting and site-builder templates - are left out. A column holds up to 10 values of a site, a value is cut to 1000 characters, and a site gives at most 32 KB of values across all columns; values past that are neither returned nor counted.
Your own expressions
Anything else is found with a regular expression in Custom RegEx, one per line, up
to 10; each adds a column after the ticked groups. It is written the same way as
snipexp: in a search: the
capturing group is what ends up in the column, and an expression without one
gives the whole match. The buttons to the right of the field put sample expressions
in it, for contacts, social profiles and apps, to start from.
|/wp-content/plugins/([\w\d\-\.\_]+)/|
Ready expressions for common ids - the group is the id itself:
- Google Tag Manager:
|\b(GTM-[A-Z0-9]{4,10})\b| - Google Analytics 4:
|\b(G-[A-Z0-9]{8,12})\b| - Universal Analytics:
|\b(UA-\d{4,10}-\d{1,4})\b| - AdSense publisher:
|\b(ca-pub-\d{10,20})\b|
\b marks a word boundary: without it, IMG-20241210 in a file name would give G-20241210.
Points, Limit and Offset
A site costs one extraction point if anything was found on it, however many columns and values; a tenth of a point if nothing was found; nothing if it is not in the index. Test first: set a small Limit - the number of sites to go through - look at the table, then run the rest; see limits.
When today's points run out mid-run, the run goes on to the end, but
a cell where something was found says #OUT_OF_POINTS instead of the
value: the table still shows which sites have what. Offset skips that many
sites from the start of the cluster - set it to the first such row the next day to
go on instead of repeating, since a repeat pays for the same sites again.
Getting the result out
The extracted table downloads as a CSV file, separated by commas, and opens in a spreadsheet. Each row is a site and what was found on it; a site where nothing matched is still listed, so the gaps are visible (the API and the MCP server leave such sites out unless asked to list them). Several values found on one site share a cell, one per line.
The first row names the columns: domain, then the columns of the ticked
groups, then one column per expression - named after the sample when the expression
is a sample as it is, otherwise regexp_1, regexp_2 and so on,
by its line. A line that is not a valid expression keeps its column, always empty.
The points used and left show in your profile:
domain,name,kind,email,phone example.com,Example Dental,Dentist,info@example.com,+1 555 0100 ...
The other files the site gives are described in Downloading results.
Which of your sites have it
To see which sites of your own list of domains, urls or email addresses have some code, upload the list as a cluster and extract with an expression for that code: the sites that have it get a value, the rest an empty cell. Or intersect the list with a cluster made from a search - both ways are in Which of my sites use a technology.
Extracting phones and emails walks the whole thing through, from two searches to a spreadsheet. From code, extraction is part of the API, with the same groups by name.
Next Limits