Closed BruceDone closed 6 years ago
I would appreciate this as well. I might prepare PR which would basically:
ScrapydAPI
constructor parameter called timeout
(same type as requests.request
expects) storing it in instance attribute timeout
wrapper.py
What do you think?
@tlinhart It's been a while but yes, that sounds good. I would accept a PR with that interface.
Thanks @djm for merging!
No worries, thanks for proposing and enacting it!
I'll do the PyPI release this evening and update this thread.
Thank you too, @djm . Just wanted to ask how documentation gets updated. Changes are not reflected there.
@tlinhart Thanks for the reminder. I've fixed that + converted the base docs to Markdown as PyPI Warehouse finally supports it 🎉.
Hi djm: Since scrapyd server may be down , so while you using this scrapyd api , you may be block by the http error or other error, need to add the timeout param to handle this situation.