simple md fix
This commit is contained in:
@@ -6,14 +6,14 @@ A spider can use multiple fetcher sessions simultaneously — for example, a fas
|
||||
|
||||
A session is a pre-configured fetcher instance that stays alive for the duration of the crawl. Instead of creating a new connection or browser for every request, the spider reuses sessions, which is faster and more resource-efficient.
|
||||
|
||||
By default, every spider creates a single [FetcherSession](fetching/static.md). You can add more sessions or swap the default by overriding the `configure_sessions()` method, but you have to use the async version of each session only, as the table shows below:
|
||||
By default, every spider creates a single [FetcherSession](../fetching/static.md). You can add more sessions or swap the default by overriding the `configure_sessions()` method, but you have to use the async version of each session only, as the table shows below:
|
||||
|
||||
|
||||
| Session Type | Use Case |
|
||||
|-------------------------------------------------|------------------------------------------|
|
||||
| [FetcherSession](fetching/static.md) | Fast HTTP requests, no JavaScript |
|
||||
| [AsyncDynamicSession](fetching/dynamic.md) | Browser automation, JavaScript rendering |
|
||||
| [AsyncStealthySession](fetching/stealthy.md) | Anti-bot bypass, Cloudflare, etc. |
|
||||
| [FetcherSession](../fetching/static.md) | Fast HTTP requests, no JavaScript |
|
||||
| [AsyncDynamicSession](../fetching/dynamic.md) | Browser automation, JavaScript rendering |
|
||||
| [AsyncStealthySession](../fetching/stealthy.md) | Anti-bot bypass, Cloudflare, etc. |
|
||||
|
||||
|
||||
## Configuring Sessions
|
||||
|
||||
Reference in New Issue
Block a user