dijs / wiki

Wikipedia Interface for Node.js
MIT License
313 stars 62 forks source link

athena #83

Closed Aviortheking closed 6 years ago

Aviortheking commented 6 years ago

it's seems thats you can't get athena's photo from her Wikipedia page everytime i do

wiki().page("athena").then(p => {
    Promise.all([p.summary(), p.info(), p.mainImage()]).then(c => {
        //code here
    }, (err) => {
        console.log(err);
    }
}

TypeError: Cannot read property 'image' of undefined

dijs commented 6 years ago

Thanks for the code snippet! I will check it out