How to get information in info box of Wikipedia articles using Wikipedia api? -
i'm trying lead actor's name movie's wikipedia article.
i tried different values prop, prop=info seems relevant. doesn't contain information in info box of wikipedia article.
see:
http://en.wikipedia.org/w/api.php?action=query&prop=info&titles=casino_royale_(2006_film)&format=jsonfm
is possible extract information in infobox using wikipedia api?
the mediawiki api doesn't understand infoboxes. so, have 2 options:
- parse infobox yourself. can either parse wikitext directly or generated html table (both available api).
- let else parsing. dbpedia does. wikidata tries similar, won't contain enough data usable long time; see growth statistics.
Comments
Post a Comment