DEV Community

Ramdai Bista
Ramdai Bista

Posted on Originally published at agentkitworks.com

The Scraping Bug Where Your Agent Succeeds and Still Returns Nothing

resp = requests.get(url)
if resp.status_code == 200:
rows = parse(resp.text)
log.info(f"scraped {url} successfully") # true, and useless

rows can be [] right here and this code doesn't know

Top comments (0)