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 Wikimedia extracts API to retrieve hints #278

Open
wants to merge 1 commit into
base: default
Choose a base branch
from

Conversation

Lichtschalter-5000
Copy link
Contributor

@Lichtschalter-5000 Lichtschalter-5000 commented Mar 20, 2021

Furthermore, filter out more references from hints. (like [1] or [note 7] or [a])

Closes #169: the 200 characters for the hint text will be retrieved using the "extracts"-functionality of Wikipedia's API instead of using cheerio to reconstruct the article and extracting the first 200 characters.

However, I wonder if it's favourable to use it, as the article's text is saved anyway and this adds an other request to the api.

Furthermore, filter out more references from hints.
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.

Use Wikimedia extracts API to retrieve hints
1 participant