-
Notifications
You must be signed in to change notification settings - Fork 74
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
base: master
Are you sure you want to change the base?
Add 20 Minuten
#638
Conversation
There was a problem hiding this 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!
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"), |
There was a problem hiding this comment.
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") |
There was a problem hiding this comment.
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.
No description provided.