Skip to main content
QUICK REVIEW

[논문 리뷰] Beyond BeautifulSoup: Benchmarking LLM-Powered Web Scraping for Everyday Users

Arth Bhardwaj, Nirav Diwan|arXiv (Cornell University)|2026. 01. 09.
Web Application Security VulnerabilitiesComputer Science인용 수 0
한 줄 요약

이 논문은 전통적인 스크래핑 도구와 LLM 기반 에이전트를 벤치마크하여, 보안 수준이 다양한 35개 사이트에서 비전문 사용자가 달성할 수 있는 것을 평가하고, LAS와 ELA 워크플로우를 비교하며 속도, 신뢰성, 복잡성 간의 트레이드오프를 강조합니다.

ABSTRACT

Web scraping has historically required technical expertise in HTML parsing, session management, and authentication circumvention, which limited large-scale data extraction to skilled developers. We argue that large language models (LLMs) have democratized web scraping, enabling low-skill users to execute sophisticated operations through simple natural language prompts. While extensive benchmarks evaluate these tools under optimal expert conditions, we show that without extensive manual effort, current LLM-based workflows allow novice users to scrape complex websites that would otherwise be inaccessible. We systematically benchmark what everyday users can do with off-the-shelf LLM tools across 35 sites spanning five security tiers, including authentication, anti-bot, and CAPTCHA controls. We devise and evaluate two distinct workflows: (a) LLM-assisted scripting, where users prompt LLMs to generate traditional scraping code but maintain manual execution control, and (b) end-to-end LLM agents, which autonomously navigate and extract data through integrated tool use. Our results demonstrate that end-to-end agents have made complex scraping accessible - requiring as little as a single prompt with minimal refinement (less than 5 changes) to complete workflows. We also highlight scenarios where LLM-assisted scripting may be simpler and faster for static sites. In light of these findings, we provide simple procedures for novices to use these workflows and gauge what adversaries could achieve using these.

연구 동기 및 목표

  • 초보자가 일반적인 도구를 사용해 웹 스크래핑을 얼마나 민주화했는지 평가합니다.
  • 다양한 사이트 보호를 대상으로 두 워크플로우—LLM 보조 스크립트 작성(LAS)과 엔드투엔드 LLM 에이전트(ELA)—를 비교합니다.
  • 추출 성공률, 실행 시간, 수작업 노력을 통해 사용성과 신뢰성을 정량화합니다.
  • 각 워크플로우를 언제 사용해야 하는지에 대한 실용적 지침을 제공하고 잠재적 남용 위험을 식별합니다.

제안 방법

  • 5단계 보안 계층에 걸친 35개 웹사이트의 벤치마크를 정의합니다.
  • 전통적인 스크래핑(BeautifulSoup, Scrapy)과 엔드투엔드 LLM 에이전트(Claude, Simular.ai)를 비교합니다.
  • 성공 여부, 시간, 수작업 노력을 측정하기 위해 고정된 프롬프트와 표준화된 평가 환경을 사용합니다.
  • LAS는 LLM에 코드를 생성하도록 프롬프트를 제공하고 사용자가 코드를 실행하는 방식으로 평가하고, ELA는 에이전트 주도 탐색 및 추출 방식으로 평가합니다.
  • 사이트별 최대 세 차례의 시도에서 접근성, 추출 및 CSV 기반 데이터 출력을 포함한 결과를 기록합니다.
Figure 1: Benchmark for non-expert web scraping . We introduce a benchmark that evaluates what non-expert users can achieve with off-the-shelf tools, modeling two workflows: (i) LLM-assisted Scripting (LAS) and (ii) End-to-End LLM Agent (ELA) . LAS: the LLM drafts code that the user executes and man
Figure 1: Benchmark for non-expert web scraping . We introduce a benchmark that evaluates what non-expert users can achieve with off-the-shelf tools, modeling two workflows: (i) LLM-assisted Scripting (LAS) and (ii) End-to-End LLM Agent (ELA) . LAS: the LLM drafts code that the user executes and man

실험 결과

연구 질문

  • RQ1일반 도구로 비전문 사용자가 실제로 달성할 수 있는 것은 무엇인가요?
  • RQ2LAS와 ELA 워크플로우가 사이트 난이도 수준에 따라 성공률, 속도, 필요한 수작업에 어떻게 비교될까요?
  • RQ3인증, 봇 차단, CAPTCHA가 있는 사이트에서 LLM 에이전트가 전통 도구보다 더 효과적일까요?
  • RQ4자동화가 정적 사이트와 동적 사이트에서 스크립팅에 비해 언제 더 유리해지나요?
  • RQ5민주화된 LLM 기반 웹 스크래핑에서 방어적 함의는 무엇인가요?

주요 결과

  • 엔드투엔드 LLM 에이전트는 복잡하고 보호된 사이트에서 스크립팅보다 실질적으로 더 우수한 성능을 보이며 전통 도구가 실패하는 곳에서 접근성을 가능하게 합니다.
  • Simular.ai는 단순/복합 HTML에서 완벽한 ESR로 전체 성능이 가장 높고, 인증 페이지 및 CAPTCHA에서는 강하지만 보편적이지 않은 성능을 보입니다.
  • 정적 HTML의 경우 전통 도구가 여전히 더 빠르고 매우 효과적이며, LAS는 간단한 경우 2초 이내에 높은 ESR을 제공합니다.
  • CAPTCHA 및 MFA가 많은 사이트에서는 전통 도구가 실패하거나 비현실적으로 노동집약적인 반면, LLM 에이전트는 여전히 실행 시간이 길고(수십 초) 재시도가 더 필요하지만 실행 가능성이 있습니다.
  • 명확한 강점 차이가 존재합니다: 정적 추출에는 LAS가 우수하고, 복잡하고 동적이며 보호된 콘텐츠에는 ELA가 더 적합합니다.
Figure 2: Average execution time per category. Note that the y-axis is on a log scale (in seconds).
Figure 2: Average execution time per category. Note that the y-axis is on a log scale (in seconds).

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.