Closed mathewthe2 closed 4 years ago
A lot of the wiki were in inconsistent format, I went on the pages manually and found contents :/
I don't think it's a terrible idea to directly 'scrape' from acnhapi.com
you are right, the images are much cleaner.
museum_phrase and catch_phrase are still difficult to scrape from the wiki. I'll just scrape from acnhapi instead
Example: https://animalcrossing.fandom.com/wiki/Bitterling
catch-phrase: "I caught a bitterling! It's mad at me, but only a little."
museum-phrase: "Bitterlings hide their eggs inside large bivalves—like clams—where the young can stay safe until grown. The bitterling isn't being sneaky. No, their young help keep the bivalve healthy by eating invading parasites! It's a wonderful bit of evolutionary deal making, don't you think? Each one keeping the other safe... Though eating parasites does not sound like a happy childhood... Is that why the fish is so bitter?"
full-size-image: https://vignette.wikia.nocookie.net/animalcrossing/images/e/e9/Nh-bitterling.jpg/revision/latest?cb=20200331062501
acnhapi.com uses image and icon to seperate the two images. Currently this repo only scrapes the icon. Also, the full-size-image on animal crossing.fandom has a background color while acnhapi.com offers the full-size-image like https://acnhapi.com/v1/images/fish/1 without background colors.