Web Scraping Engineer
Build resilient scrapers: HTML parsing libraries, browser automation, polite request handling, and replaying traffic to debug extraction failures.
Path overview
构建稳健的抓取器:HTML 解析库、浏览器自动化、礼貌请求处理,以及回放流量以调试提取失败。
Build resilient scrapers: HTML parsing libraries, browser automation, polite request handling, and replaying traffic to debug extraction failures.
Read "Beautiful Soup"'s documented surface around "BeautifulSoup BeautifulSoup(markup, parser): BeautifulSoup", then build a minimal endpoint and log the response.
Next step: Cheerio
⏱ 1h
Stand up "Cheerio" for a web scraping engineer task, confirm "cheerio.load cheerio.load(html: string | Buffer, options?: { xml?: boolean }): CheerioAPI" holds, and document one failure you triggered.
Prerequisites: Beautiful Soup
Next step: goquery
⏱ 1h
Wire "goquery" into a scratch web scraping engineer project, following "goquery.NewDocumentFromReader goquery.NewDocumentFromReader(r)", and record one working request/response pair.
Prerequisites: Cheerio
Next step: Colly
⏱ 1h
Read "Colly"'s documented surface around "colly.NewCollector colly.NewCollector(options...)", then build a minimal endpoint and log the response.
Prerequisites: goquery
Next step: Scrapy
⏱ 1h
Stand up "Scrapy" for a web scraping engineer task, confirm "scrapy.Spider class MySpider(scrapy.Spider): name; start_urls" holds, and document one failure you triggered.
Prerequisites: Colly
Next step: Selenium
⏱ 1h
Wire "Selenium" into a scratch web scraping engineer project, following "WebDriverWait / find_element WebDriverWait(driver,", and record one working request/response pair.
Prerequisites: Scrapy
Next step: Requests
⏱ 1h
Read "Requests"'s documented surface around "requests.get requests.get(url, params=None, **kwargs): Response", then build a minimal endpoint and log the response.
Prerequisites: Selenium
Next step: httpx
⏱ 1h
Stand up "httpx" for a web scraping engineer task, confirm "httpx.get httpx.get(url, **kwargs): Response" holds, and document one failure you triggered.
Prerequisites: Requests
Next step: Cheerio HTML Metadata Extraction
⏱ 1h
Run the web scraping engineer snippet "Cheerio HTML Metadata Extraction", capture stdout, and show which line demonstrates the documented behavior: "Parse fetched HTML with Cheerio to extract OpenGraph metadata, clean text, and attribute".
Prerequisites: httpx
Next step: FastAPI Async Web Scraper Pipeline
⏱ 0.75h
Read "FastAPI Async Web Scraper Pipeline" as an architecture drill: for each Python, FastAPI, Celery, Redis component, state what it owns and what it delegates.
Prerequisites: Cheerio HTML Metadata Extraction
Next step: Record and Replay HTTP Traffic with mitmproxy
⏱ 1.5h
Run "Record production-like traffic, save it as a flow file, and replay it against a test" from "Record and Replay HTTP Traffic with mitmproxy" and confirm the documented result "A flow file is written and each request prints a one-line summary as it passes through.".
Next step: Extract Allowlisted Links from HTML
⏱ 0.5h
Turn JSON object: { html: string, allowedHosts: string[] } into {links:[{href:https://docs.example.com/start,text:Start}],skipped:1} by completing "Extract Allowlisted Links from HTML" with a reproducible script and a failing-case note.
Prerequisites: Record and Replay HTTP Traffic with mitmproxy
Next step: Capstone: Web Scraping Engineer
⏱ 0.42h
Build "Build a URL Metadata Scraper Service" through its phases, keeping "Safe fetch" independently testable.
Prerequisites: Record and Replay HTTP Traffic with mitmproxy, Extract Allowlisted Links from HTML
Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.
⏱ 4h