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

Use compute_descriptions from zimscraperlib to handle descriptions #125

Merged
merged 1 commit into from
May 6, 2024

Conversation

githyuvi
Copy link
Contributor

@githyuvi githyuvi commented May 5, 2024

Fixes #50

Using the shared logic from python-scraper lib to compute descriptions and long descriptions

Tested on the following combinations

Description Long description
None None
<80c None
>80c None
<80c <4000
>80c <4000

@kelson42 kelson42 requested a review from benoit74 May 6, 2024 04:17
Copy link
Collaborator

@benoit74 benoit74 left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@benoit74 benoit74 merged commit 2d83b2b into openzim:new_ui May 6, 2024
6 checks passed
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