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 20 Minuten #638

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

Add 20 Minuten #638

wants to merge 5 commits into from

Conversation

addie9800
Copy link
Collaborator

No description provided.

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 for adding 👍 Looks good!

Comment on lines +53 to +56
NewsMap("https://www.20min.ch/sitemaps/de/news.xml"),
Sitemap("https://www.20min.ch/sitemaps/de/articles.xml"),
NewsMap("https://www.20min.ch/sitemaps/fr/news.xml"),
Sitemap("https://www.20min.ch/sitemaps/fr/articles.xml"),
Copy link
Collaborator

Choose a reason for hiding this comment

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

We definitive need a solution for the mixed languages at some pint😅

class V1(BaseParser):
_summary_selector = XPath("//div[@class='Article_elementLead__N3pGr']/p")
_subheadline_selector = XPath("//section[@class='Article_body__60Liu']//h2[contains(@class, 'crosshead')]")
_paragraph_selector = XPath("//div[@class='Article_elementTextblockarray__WNyan']/p")
Copy link
Collaborator

Choose a reason for hiding this comment

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

The list box at the beginning of this article isn't completely 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