-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Scrapy Shell Always Raises RuntimeError but Works Fine #5742
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
Comments
This is certainly the same problem as in #5740. However, what do you mean by working fine? Are you able to access the response? Also, is the result different when you use |
Yes, I meant I am able to access the response. |
Interesting, thanks! Are you able to run spiders with |
Everything works fine both |
Great, then it looks like it's specific to scrapy shell. I'm going to close this issue and write the info from you in the previous one. Thanks for your assistance! |
Description
Scrapy Shell always raises RuntimeError even though I request any URL, but results fine.
Steps to Reproduce
Execute
scrapy shell 'https://any.url'
, return:Expected behavior: It is not expected to show:
Reproduces how often: Always.
Versions
Scrapy : 2.7.1
lxml : 4.9.1.0
libxml2 : 2.9.12
cssselect : 1.1.0
parsel : 1.7.0
w3lib : 2.0.1
Twisted : 22.10.0
Python : 3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929 64 bit (AMD64)]
pyOpenSSL : 22.1.0 (OpenSSL 3.0.7 1 Nov 2022)
cryptography : 38.0.3
Platform : Windows-10-10.0.19045-SP0
The text was updated successfully, but these errors were encountered: