Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Conversation

@noellelebe
Copy link
Contributor

No description provided.

Comment on lines +82 to +86

try:
category = " ".join(tree.xpath('//*[@class="breadcrumbs breadcrumbs-news"]//li[2]/a/span/text()'))
except:
category = ""
Copy link
Contributor Author

Choose a reason for hiding this comment

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

added category but realized that this is only scraper for latest news from dailystar.. is that intended? if so, category = redundant, I guess

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants