Open snakeninny opened 1 year ago
Hi, thanks for your interest. This looks like a problem when you try to install lxml
on MacOS. I checked your pypi source https://pypi.tuna.tsinghua.edu.cn/, it's kind of outdated. The latest lxml version is 4.9.2, while your source is 4.5.0.
Unfortunately, I don't have a Mac laptop so currently, I cannot reproduce this error and debug it for you. So I list some possible solutions here:
conda install -c conda-forge lxml
to install it.By the way, NYT recently add recaptcha for robot check. This crawler may not work as usual.
I have the same issue on Debian.
Hi LuChang, I'm using macOS 13.2.1 with M1 chip and Python 3.10.8. I was trying to setup NYTimes crawler with your code but failed to setup:
I'm pretty new to Python and I don't know what was wrong. Any ideas? Thank you!