Skip to content

๐Ÿ•ท๏ธ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

1006 B
Raw Blame

title: "Spider, ์š”์ฒญ, ๊ฒฐ๊ณผ API ์ฐธ๊ณ  ๋ฌธ์„œ" description: "์ŠคํŒŒ์ด๋” ํ›…, ์š”์ฒญ, ์„ธ์…˜, ํฌ๋กค๋ง ํ†ต๊ณ„, ๋ฐ์ดํ„ฐ ๋‚ด๋ณด๋‚ด๊ธฐ ๋ฐฉ๋ฒ•์„ ํ™•์ธํ•˜์„ธ์š”."

Spider ํด๋ž˜์Šค {#spider-classes}

์ŠคํŒŒ์ด๋” ํ”„๋ ˆ์ž„์›Œํฌ์— ํฌํ•จ๋œ ํด๋ž˜์Šค์˜ ์ธ์ˆ˜, ์†์„ฑ, ๋ฉ”์„œ๋“œ๋ฅผ ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค.

๋‹ค์Œ์ฒ˜๋Ÿผ ์ง์ ‘ ๊ฐ€์ ธ์˜ฌ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:

from scrapling.spiders import Spider, Request, CrawlResult, SessionManager, Response

::: scrapling.spiders.Spider

handler: python
:docstring:

::: scrapling.spiders.Request

handler: python
:docstring:

๊ฒฐ๊ณผ ํด๋ž˜์Šค {#result-classes}

::: scrapling.spiders.result.CrawlResult

handler: python
:docstring:

::: scrapling.spiders.result.CrawlStats

handler: python
:docstring:

::: scrapling.spiders.result.ItemList

handler: python
:docstring:

์„ธ์…˜ ๊ด€๋ฆฌ {#session-management}

::: scrapling.spiders.session.SessionManager

handler: python
:docstring: