Syntax - Tasty Web Development Treats
Syntax - Tasty Web Development Treats

The Undocumented Web: scraping, private APIs, proxies and “alternative solutions”

What is the undocumented web? Scott and Wes dive into it, discussing APIs, faking, scraping, automation, proxies as well as tips and tricks for best practices. Kyle Prinsloo’s Freelancing & Beyond — Sponsor Kyle Prinsloo teaches you everything you need to know about freelancing, including how to

Featured Speakers

Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers Host

Topics Discussed

Episode Summary

Executive Summary: Syntax hosts Wes Bos and Scott Tolinski explore the “undocumented web”: techniques developers use when official APIs or workflows do not provide needed data or functionality. They discuss discovering internal APIs, scraping HTML, automating browser actions, using proxies, and testing interfaces with developer tools, sharing practical examples and tools. They stress that such work is often brittle and can raise ethical or legal concerns, so listeners should use judgment and avoid harmful or illegal activity.

Main Topics: What the undocumented web is: The hosts describe workarounds for missing, restricted, delayed, or unsuitable official interfaces. These solutions are often improvised, nonstandard, and liable to break when a service changes. Finding and using undocumented APIs: Browser developer tools—especially the Network/XHR panel—can reveal requests a website makes to its own backend. The hosts discuss inspecting request parameters and using internal endpoints, while noting they may change or be blocked. Scraping and transforming web data: Scraping involves downloading HTML and extracting selected information. Wes describes Cheerio, which provides jQuery-like DOM traversal for Node.js, and Scott recommends learning the underlying process through a Python crawler exercise. Automating browser workflows: When data requires login, form submissions, or interactions, headless browsers and scheduled jobs can automate the steps. Puppeteer is highlighted for controlling headless Chrome, rendering pages, and taking screenshots. Faking requests and using proxies: The hosts explain user-agent spoofing, inspecting and simplifying copied cURL requests, and routing traffic through a proxy. These methods can help with compatibility or location-based access, but may cross service rules or other boundaries. Risks, ethics, and real-world examples: Examples include monitoring listings, bypassing weak voting controls, and automating purchases. The discussion illustrates both personal utility and unfair advantage, and ends with cautions not to break laws or abuse services.

Key Arguments: When official APIs do not expose needed data, a service’s own browser or mobile-app requests may reveal an alternative route; the Network panel is a practical starting point. Scraping can be useful for combining information into a format that better serves a specific need, as in Wes’s deal aggregator and house-listing monitor, but selectors and page structure make it fragile. Browser automation is appropriate for workflows that cannot be reached by a simple URL, while tools such as Puppeteer make rendered JavaScript pages and interactions automatable. These techniques can create unfair advantages or undermine intended limits, as illustrated by automated ticket and shoe buying and easily manipulated voting systems; technical feasibility does not make use ethical or permitted. Developers should expect unofficial methods to fail when services alter their interfaces, block traffic, or change internal APIs, and should consider legal, contractual, and privacy implications.

Data Points: Bike-listing check interval: Every 3 minutes - Wes’s scraper checked a classifieds search more frequently than the site’s RSS feed or email notifications. Example API request limit: About 50 requests per IP address per hour - Wes gives this as an example of throttling that may lead people to use another IP; it is not presented as a universal limit. Instagram integration reliability: Broken once in about a year - Wes says an unofficial Instagram endpoint used on his wife’s website had broken once during roughly a year of use. Sticker giveaway entries: 1,200 comments; about 400 “load more” clicks - Wes describes extracting comments through React DevTools to choose giveaway winners. New York Times paywall example: Six articles before the seventh - The hosts recall an early metered paywall and Wes’s one-line CSS extension that hid its overlay. Freelancing course discount: 25% off with code “syntax” - A sponsor promotion mentioned during the episode.

Pivotal Quotes: "At the end of the day, most web developers are hackers, and we want to be able to find a way around these barriers or basically just solve the problems that we have ourselves." — Wes Bos: His framing of why developers turn to unofficial techniques when conventional methods fall short. "often these things are quick and dirty, often they will be very brittle because they can break at a moment's notice." — Wes Bos: A concise warning about the maintenance risks of undocumented approaches. "Don't do anything illegal." — Wes Bos: The closing caution after stories about scraping, automation, proxies, and bypassing weak controls.

Implications: For developers, these techniques can unlock useful personal tools and reveal how web services work, but they are fragile and may violate terms, privacy expectations, or laws. Prefer official APIs where possible, minimize harm, and treat access controls and rate limits seriously.

🔓 Sign Up for Unlimited Episode Search

About Syntax - Tasty Web Development Treats

View all episodes from Syntax - Tasty Web Development Treats