Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Spider.update_settings #5745

Closed
wRAR opened this issue Dec 5, 2022 · 10 comments · Fixed by #5846
Closed

Document Spider.update_settings #5745

wRAR opened this issue Dec 5, 2022 · 10 comments · Fixed by #5846

Comments

@wRAR
Copy link
Member

wRAR commented Dec 5, 2022

While overriding Spider.update_settings is a common practice to have dynamic custom settings, it looks like it's not documented anywhere.

It should also be mentioned in https://docs.scrapy.org/en/latest/topics/settings.html#settings-per-spider

@anugcodes
Copy link

hey @wRAR , i would like to try this issue.But i am new here and don't know where to start.can you please help me out here.

@wRAR
Copy link
Member Author

wRAR commented Dec 10, 2022

@anugcodes are you asking about contributing in general or how to fix this issue?

@anugcodes
Copy link

@anugcodes are you asking about contributing in general or how to fix this issue?

I mean in general,how can I understand the codebase and start with beginner friendly tasks.

@wRAR
Copy link
Member Author

wRAR commented Dec 10, 2022

@N00rAhmed
Copy link

hey @wRAR I would like to work on this issue but because I'm new to this repo I dont know where I should write the documentation for Spider.update_settings ?

@wRAR
Copy link
Member Author

wRAR commented Dec 12, 2022

@N00rAhmed the attributes of scrapy.Spider are documented in docs/topics/spiders.rst.

@tuhinmallick
Copy link

Is this issue still open then I would like to work on it

@wRAR
Copy link
Member Author

wRAR commented Jan 6, 2023

@tuhinmallick there is an existing not-yet-complete PR linked above but you can try too.

@tuhinmallick
Copy link

@wRAR Thanks I have made a PR #5784 . Please let me know if i have to modify anything or improve something

@jxlil
Copy link
Contributor

jxlil commented Jul 24, 2023

Hi @wRAR, I tried to document update_settings in this PR #5846. Do you think I should make any other changes? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment