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

Merged
merged 5 commits into from
Mar 3, 2025
Merged

Add PT #699

merged 5 commits into from
Mar 3, 2025

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

MaxDall
MaxDall previously approved these changes Mar 3, 2025
@addie9800 addie9800 merged commit d3f9cc0 into master Mar 3, 2025
5 checks passed
@addie9800 addie9800 deleted the add-pt branch March 3, 2025 19:35
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