wiki
wiki copied to clipboard
Wikipedia Interface for Node.js
https://en.wikipedia.org/wiki/Tequila_(The_Champs_song) Code: ``` const page = await wiki({ headers }).page('Tequila (The Champs song)'); const metadata = await Promise.all([ page.categories(), page.info(), ]); return metadata; ``` `metadata[1]`: ``` { name: 'Tequila', type:...
https://dijs.github.io/wiki/Wiki.html#pagesInCategory
Hi, thanks for this library. An error occurs while retrieving page coordinates 'KAAD-LP'. ```js wiki().page('KAAD-LP') .then(page => page.coordinates()) .then(console.log); ``` Probably a problem with the coordinate format: `37/58/57.00|N|120|22|43.00|W` There are...
Hey man So the `page.summary()` function doesn't return the summary on certain pages but the structure of those pages look the same as ones that do return a summary. URL:...
Hey man When trying to get the `page.mainImage();` from a class of '`infobox-wide'` returns undefined. This page shows the `infobox-wide` > https://cod-esports.gamepedia.com/EUnited
Hi, I have a script that I used to dump every page of a wiki to xml:  It works perfectly, however, there doesn't seem to be an option in...
I am running into a browser error when trying to execute the basic wikijs sample snippet: The project builds with Vite 3.2.3. Is there a build option needed for Vite,...
Hello, I am trying to do a query like so: https://starcitizen.tools/api.php?action=query&format=json&prop=&list=categorymembers&cmtitle=Category%3AShips&cmprop=ids%7Ctitle&cmnamespace=0&cmlimit=500 But I can't see a way to do this via your API, anything I am missing? Or not something...