Run the same search in a browser and note the result count for a broad query you know has patents. Expected: the browser shows results, proving the query itself is not empty.

Fetch that exact search URL once from your scraper and save the raw response body to a file. Expected: you can inspect whether the body contains result data, a consent notice, or a block message.

If the body is a consent or block page, slow the request rate, add a realistic user agent header, and retry after a pause. Expected: the next response contains actual result content instead of the interstitial page.

Check the query encoding in the request URL, especially quoted phrases, plus signs, and date parameters. Expected: the encoded query matches what the browser sends for the same search.

Parse the structured result data embedded in the page rather than relying on old CSS class names. Expected: the parser extracts patent numbers and titles for the test query.

Add an explicit check after each fetch: if the page contains no result data and no explicit no results message, treat it as a failed fetch and retry with backoff instead of recording zero results. Expected: block pages are never stored as empty result sets.

Re-run the full scrape at the paced rate. Expected: result counts match the browser counts for spot checked queries within normal variance.