SPB Git forge
38commits 1branches 0releases
338.7 MBsize
maindefault branch
3 h agolast push
HTML 53.9% TypeScript 44.5% JavaScript 0.6% SQL 0.5%
2.1 KB

# Global Switch (globalswitch)

  • Domain: www.globalswitch.com · Kind: operator · Priority: 1 · Enabled: yes
  • License / attribution: Publicly accessible operator pages; factual data only; © Global Switch — attribution “Global Switch”
  • Coverage: GB, NL, DE, FR, ES, HK, SG, MY, AU

# What it collects

Facility records (kind: facility) via parser(s) globalswitch_facility_v1 in apps/worker/src/connectors/operators2/emea.ts.

Fields published by the pages and captured: one record per building: name, totalPowerMw, address, postalCode, city, countryIso2.

Every field carries an extraction method in methods (e.g. json-ld:PostalAddress, regex:it_mw_v1, attr:data-value+MW, lookup:city-country) for provenance. Coordinates are only taken from JSON-LD / embedded JSON / map links published by the operator — never geocoded. Status defaults to operational unless the page uses pipeline wording (under construction / coming soon / planned).

# Discovery

  • Sitemaps: https://www.globalswitch.com/page-sitemap.xml, https://www.globalswitch.com/post-sitemap.xml
  • Include: /data-centres/[a-z-]+/$, /announcement/
  • Exclude: \?, #
  • Classify: /data-centres/[a-z-]+/$ → facility_pages (facility_page); /announcement/. → newsroom (press_release)

Newsroom URLs (when configured) rely on the GenericConnector news fallback (press_release → news_event when data-center relevant).

# Schedule & fetch

  • Schedule: facility_pages weekly, newsroom daily, sitemap weekly
  • Fetch: L1→L2, 15 rpm, concurrency 2, robots.txt respected, max 20 premium credits/run. All pages are served at L1 (plain HTTP); maxLevel is capped at 2 so false-positive “blocked” heuristics (HubSpot / cookie-consent strings) never spend Scrapfly credits.

# Quirks

City pages /data-centres// list each building in .contact_offices (name, MW, street, postal code + city, country) → one record per building.

# Verification (live, 2026-09-11)

try-connector --limit N: discovered 33 URLs (facility_pages=8, newsroom=25); sampled pages → 9 entities, 9 valid, 0 rejected, 0 premium credits.