infobox-parser
infobox-parser copied to clipboard
Parse Wikipedia Infoboxes
When parsing unbulleted lists, it just returns "unbulleted list" instead of parsing the list. For example: ```javascript const infoboxParser = require("infobox-parser") const res = infoboxParser(` {{Infobox automobile | name =...
Adds parsing of `n` or `no` to be `false`, to align with the behaviour with `y` or `yes`. Note that the unit tests are failing due to an unrelated issue,...
In some cases, the coordinates intro word is `Coord` instead of lowercase-only `coord` which is causing issues on some articles - like Cincinnatti for example (unit test included) Example that...
We are trying to parse an Infobox from a German muncipality (https://de.wikipedia.org/wiki/Muhr_am_See). The API response looks like this: ``` {{Infobox Gemeinde in Deutschland |Name = Muhr a.See |Wappen = Wappen...
https://en.wikipedia.org/w/index.php?title=This_Is_What_You_Came_For&action=edit ``` {{Infobox song | name = This Is What You Came For | cover = This Is What You Came For cover.png | alt = | border = yes...
Hi there! An open source project that I participate uses its wikijs lib to consume some data from specific wikipedia pages, more specifically to obtain lists of Brazilian cities by...
https://en.wikipedia.org/w/index.php?title=United_States_presidential_election&action=edit§ion=25#Electoral_college_results Notice `year` is incorrect, and what is `Composition bar compact`. ``` [ { year: 'United States presidential election, 1788–89', party: 'Independent (politician)', presidentialCandidate: 'George Washington', vicePresidentialCandidate: 'None', popularVote: '43,782',...
i'm writing an app for get album information. right now i'm using an hackby first using regex to get the "tracklist" section , then parsing that. it would be cool...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...