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

Using trafilatura Markdown #12

Merged
merged 1 commit into from
Jun 13, 2024
Merged

Using trafilatura Markdown #12

merged 1 commit into from
Jun 13, 2024

Conversation

obeone
Copy link
Owner

@obeone obeone commented Jun 13, 2024

It seems that the latest version of trafilatura finally releases a valid Markdown.
So, no need for an internal parser and therefore simplification by using directly their version of the Markdown

…kdown conversion

Removed the `ParserManager` class and its associated file. Updated the `Scraper` class to use `mdformat` for converting HTML to Markdown directly, simplifying the process and reducing dependencies. Updated `requirements.txt` to include necessary `mdformat` packages.
@obeone obeone merged commit 9cdacdf into main Jun 13, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant