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

Considered using Parsoid HTML #2

Closed
legoktm opened this issue Jul 5, 2021 · 2 comments
Closed

Considered using Parsoid HTML #2

legoktm opened this issue Jul 5, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@legoktm
Copy link

legoktm commented Jul 5, 2021

Have you considered using Parsoid HTML to scrape information out of? It has the advantage of most wikitext properties are there as annotated RDFa, so you get the best of both wikitext and HTML.

Example: https://en.wikipedia.org/api/rest_v1/page/html/Taylor_Swift
Spec docs: https://www.mediawiki.org/wiki/Specs/HTML/2.2.0
API docs: https://www.mediawiki.org/wiki/Parsoid/API

@zverok
Copy link
Owner

zverok commented Jul 5, 2021

@legoktm Wow, that's a super-useful suggestion, thanks! Definitely will investigate (and most probably use) the possibility ❤️

@zverok zverok added the enhancement New feature or request label Jul 5, 2021
@zverok
Copy link
Owner

zverok commented Oct 13, 2021

Done in 0.0.3, thanks for the suggestion, it was super-helpful!

@zverok zverok closed this as completed Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants