We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello!
Node v10.14.2 OS Windows7, 64bit
I'm running this code
var wtf = require('wtf_wikipedia'); wtf.fetch('Copper').then(doc => { console.log(doc.infobox(0).json()); });
But unable to get any output. There is as infobox present on that page.
The text was updated successfully, but these errors were encountered:
hi, oh yeah, this is annoying. The Copper infobox is 'transcluded', which means that it is actually here, and not on the copper page
you can retrieve it like this:
(async () => { var doc = await wtf.fetch('Template:Infobox copper'); console.log(doc.infoboxes(0).json()); })();
cheers
Sorry, something went wrong.
No branches or pull requests
Hello!
Node v10.14.2
OS Windows7, 64bit
I'm running this code
But unable to get any output. There is as infobox present on that page.
The text was updated successfully, but these errors were encountered: