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 Tanzanian Publishers #691

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

Add Tanzanian Publishers #691

wants to merge 2 commits into from

Conversation

addie9800
Copy link
Collaborator

No description provided.

@addie9800 addie9800 self-assigned this Jan 23, 2025
@addie9800 addie9800 requested a review from MaxDall January 23, 2025 21:28
@addie9800 addie9800 removed their assignment Jan 23, 2025
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.

Thanks a lot for adding the first tanzanian publishers 🚀

class V1(BaseParser):
_summary_selector = CSSSelector("div.cs-entry__subtitle")
_subheadline_selector = XPath("//div[@class='entry-content']//p[not(text() or position()=1)]//span//strong")
_paragraph_selector = XPath("//div[@class='entry-content']//p[text() or position()=1]")
Copy link
Collaborator

Choose a reason for hiding this comment

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

The paragraph selector might be too restrictive: Most of this doesn't get extracted.

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