Skip to content

docs: clarify per-spider request headers - #312

Merged
oltarasenko merged 1 commit into
elixir-crawly:masterfrom
dajiaohuang:issue-176-start-request-headers
Nov 9, 2026
Merged

oltarasenko merged 1 commit into
elixir-crawly:masterfrom
dajiaohuang:issue-176-start-request-headers

Conversation

@dajiaohuang

Copy link
Copy Markdown
Contributor

Closes #176.\n\nAdds a focused start_requests example showing how to pass custom request headers for a specific spider.

@dogweather

Copy link
Copy Markdown
Collaborator

Thanks for this! The example is clear and addresses #176 nicely.

One small suggestion: it might be worth mentioning that use Crawly.Spider provides a default init/1 that delegates to init/0, and that defining init/1 yourself overrides that behavior.

Otherwise, looks good to me!

@oltarasenko
oltarasenko merged commit e27f032 into elixir-crawly:master Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide more examples / detailed docs on custom request header override per spider

3 participants