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

Add PT #699

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add PT #699

wants to merge 3 commits into from

Conversation

addie9800
Copy link
Collaborator

No description provided.

@addie9800 addie9800 requested a review from MaxDall February 3, 2025 00:21
Copy link
Collaborator

@MaxDall MaxDall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@addie9800 thanks for adding 🚀

Copy link
Collaborator

@MaxDall MaxDall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@addie9800 thanks for adding 🚀

Comment on lines 18 to 20
_paragraph_selector = XPath("//div[@class='article-body']//p[string-length(text())>1]")
_subheadline_selector = XPath("//div[@class='article-body']/p/b")
_summary_selector = XPath("//div[@class='fs-4 font-semibold mb-3']")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this article the Related Topics at the end gets extracted as well.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this, it should be fixed now

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.

2 participants