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
So i have this wiki for a game Link
And they have this table with some images and looks like images() function is not catching those images?
images()
Here my code:
const page = await wiki.fetch(title, { domain: 'www.miragerealms.co.uk', path: 'wiki/api.php' }) const test = page.images().map(image => image.url()) console.log(test)
The text was updated successfully, but these errors were encountered:
hey @qxb3 - good catch. it's not looking for images inside tables.
let str = ` {| |- | [[File:Sword-0.png]] | [[Primitive Sword]] | 4 | 15 |} ` let doc = wtf(str) console.log(doc.images())
i'm happy to add this in the next release. Can try to do it next week. cheers
Sorry, something went wrong.
Alright. Thanks!
hey qxb3, this one is harder than i thought and will require a refactor. pushing it to next major release. thanks.
No branches or pull requests
So i have this wiki for a game Link
And they have this table with some images and looks like
images()
function is not catching those images?Here my code:
The text was updated successfully, but these errors were encountered: