A script is not a pipeline
A script fetches pages and writes a file. A pipeline does that on a schedule, for every source, notices when a source fails or changes, keeps the history, and hands clean data to the system that uses it. Most scraping projects that disappoint were scripts sold as pipelines.
One collector per source, each with its own schedule
Every source fails in its own way, so each gets its own collector, schedule and failure handling. For HotelCompete, a US hotel-intelligence company, the pipeline reads many sources, each with its own collector, and normalizes them into one store that the comp set, rate tracking, census and review reports all read from.
Prefer an API to a browser
Driving a browser is slow and fragile. Many sites load their data from an API the page itself calls; collecting from that is faster, cheaper and breaks less often. On the hotel work, collectors were written API-first, using the sites' own private APIs where available, and the engineers placed on it were screened with a reverse-engineering exercise in which Selenium was not allowed.
A browser is still the right tool where a site gives no other way in. Our own retail catalog pipeline read product pages with Selenium and BeautifulSoup, because that is what the pages required.
Blocking, retries and staying reachable
Sites that do not want automated traffic block it. A production collector expects that: it rotates its addresses, slows down, retries with backoff and reports when a source stays down rather than failing silently. The hotel collectors run with residential and mobile proxy rotation and a retry and anti-blocking strategy.
Collect politely and lawfully: public data only, at a rate the site can bear, and with a check of the site's terms and of the law where you operate. A good scraping partner raises this before you do.
Storage that keeps the history
Raw pages are not data. Each record should be normalized into one shape across sources and stored with when it was collected, so a price on Tuesday can be compared with a price on Monday. The hotel pipeline writes into the client's MariaDB through stored procedures; the retail pipeline stores normalized products in MongoDB, refreshed by a threaded scheduler.
Audits, not just uptime
A pipeline can run every day and still be wrong. Check the data against the world on a schedule: are the records complete, current and matched to the right real thing? In one audit on 28 May 2026, 169 of HotelCompete's hotel records were checked the same business day and 96 open properties were matched to their Booking.com IDs.
Delivery into the system that uses it
Data in a database nobody reads is a cost. The last step delivers it where the work happens: a report, a dashboard, a store. The retail pipeline creates and updates Shopify products by SKU, with variants, images, inventory and prices, handling the Shopify Admin API's rate limits and retrying a failed refresh instead of waiting for someone to notice.
Who keeps it running
Sites change their pages, their APIs and their blocking, and every change breaks something. Decide up front who watches the pipeline and fixes it, and what that costs. Ours is a setup price, with an optional monthly run: a pricing and competitor monitor is $1.5K to $3K to set up, and rescuing a scraper or data feed that has stopped working $1.5K to $3K.