We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b283d35 + a30e297 commit eeabf99Copy full SHA for eeabf99
2 files changed
.github/workflows/proxy_integration_tests.yml
@@ -23,7 +23,7 @@ jobs:
23
- name: Set up Python
24
uses: actions/setup-python@v5
25
with:
26
- python-version: "3.x"
+ python-version: "3.12"
27
28
- name: Install package and dependencies
29
run: |
test_proxy_headers.py
@@ -36,6 +36,9 @@ class ProxyHeaderTestSpider(scrapy.Spider):
36
"DOWNLOAD_HANDLERS": {
37
"https": "scrapy_proxy_headers.HTTP11ProxyDownloadHandler"
38
},
39
+ # Allow non-2xx so parse() runs: we only assert proxy tunnel headers (e.g.
40
+ # X-ProxyMesh-IP), and the test URL may return 403/429 from CI egress.
41
+ "HTTPERROR_ALLOW_ALL": True,
42
"LOG_LEVEL": "WARNING",
43
"REQUEST_FINGERPRINTER_IMPLEMENTATION": "2.7",
44
}
0 commit comments