-
Notifications
You must be signed in to change notification settings - Fork 90
fix: Header name Zyte-Error → Zyte-Error-Type #133
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
Conversation
|
Besides addressing the CI issues (assuming they are valid and related to this change), before we merge, have you tried this branch on your code, made sure it works as expected? Just to be sure there is no other issue in that scenario, since this is not an issue where tests can help much. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #133 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 3
Lines 323 323
=========================================
Hits 323 323 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I just experienced the |
|
The pre-commit issue is easy to address, The min job issue appears a bit more involved, and CI-specific. Shall I take over to address it? |
|
Install package from my code: Run the spider: from uuid import uuid4
from scrapy import Spider
from scrapy.http import Request
class ExampleSpider(Spider):
name = "example_spider"
custom_settings = {
"ZYTE_SMARTPROXY_ENABLED": True,
}
def start_requests(self):
yield Request(
"https://httpbin.org/status/429",
)
def parse(self, response):
passWith this I see the zyte_api_proxy/response/banned=1 stats. |
|
Shall I take over, to try and solve the CI issue? |
Now the error is not related to CI but with one failing test: |
Just to clarify and add this to docstring: |
|
scrapy-zyte-smartproxy is a package that allows using 2 different proxy APIs from Zyte: Smart Proxy Manager and Zyte API proxy mode. In the context of this package, Zyte API always refers specifically to the proxy mode, i.e. the proxy API of Zyte API (which also has an HTTP API). |
Cool, added docstring to be clear for everyone else as well. |
|
@Gallaecio seems we tried the same thing at same time, I tested with lower-version OS did not work but explicit installing gcc did. 😆 |
|
@Gallaecio @wRAR May I ask, when we will have a new version of the lib with this change? Thank in advance. |
|
Early next week, hopefully before Monday end-of-day. |
fix: #132
fix: #131