We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I'm trying to fetch and extract the Dramatiq.io homepage, Trafilatura cannot extract its contents.
>>> downloaded = fetch_url("https://dramatiq.io/") >>> downloaded (�/��X,P�Z��BD0g��������taP�-�������I��$���I"g��0ī����?�L�����������6�Aϫ�pP�����4�������0��mʖF���1�li �x�����M����[�a���g�\�^�F�/�y�<ѿ���[�7zc��՝�+[��*c2דӡǩ�K�:fH���8�i��Q...) >>> extract(downloaded, output_format="markdown", include_comments=False, with_metadata=False) is None True
How can I fix this?
The text was updated successfully, but these errors were encountered:
Fixed it by using httpx.get to get the document instead of fetch_url.
httpx.get
fetch_url
Sorry, something went wrong.
No branches or pull requests
When I'm trying to fetch and extract the Dramatiq.io homepage, Trafilatura cannot extract its contents.
How can I fix this?
The text was updated successfully, but these errors were encountered: