Skip to content
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

[SITES] www.example.com #633

Open
jay-motion opened this issue Apr 11, 2024 · 1 comment
Open

[SITES] www.example.com #633

jay-motion opened this issue Apr 11, 2024 · 1 comment

Comments

@jay-motion
Copy link

python -m newspaper --url="https://edition.cnn.com/2023/11/17/success/job-seekers-use-ai/index.html" --language=en --output-format=json --output-file=article.json Traceback (most recent call last): File "<frozen runpy>", line 189, in _run_module_as_main File "<frozen runpy>", line 148, in _get_module_details File "<frozen runpy>", line 112, in _get_module_details File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/newspaper/__init__.py", line 17, in <module> from .api import ( File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/newspaper/api.py", line 10, in <module> import newspaper.parsers as parsers File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/newspaper/parsers.py", line 18, in <module> import lxml.html.clean File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/lxml/html/clean.py", line 18, in <module> raise ImportError( ImportError: lxml.html.clean module is now a separate project lxml_html_clean. Install lxml[html_clean] or lxml_html_clean directly.

getting this issue on python 3.11.8

@AndyTheFactory
Copy link
Owner

i think this is related to #639
The pull request by @changchiyou should fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants