ScrapeWebsiteTool
아직 도구를 개선 중이므로 예상치 못한 동작이나 변경 사항이 발생할 수 있습니다.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ScrapeWebsiteTool은 지정된 웹사이트의 콘텐츠를 추출하고 읽기 위해 설계된 도구이다.
ScrapeWebsiteToolpip install 'crewai[tools]'
from crewai_tools import ScrapeWebsiteTool
# 실행 중 발견한 모든 웹사이트를 스크랩할 수 있도록 설정
tool = ScrapeWebsiteTool()
# 특정 웹사이트의 콘텐츠만 스크랩할 수 있도록 URL로 초기화
tool = ScrapeWebsiteTool(website_url='https://www.example.com')
# 사이트에서 텍스트 추출
text = tool.run()
print(text)
| 인자 | 타입 | 설명 |
|---|---|---|
| website_url | string | 필수 읽을 파일의 웹사이트 URL. 이 도구의 주요 입력값으로, 어떤 웹사이트의 콘텐츠를 스크랩하고 읽을지 지정한다. |
