pokemonsay icon indicating copy to clipboard operation
pokemonsay copied to clipboard

Scrapper has trouble with special characters when using National Dex + National cows

Open marcosins opened this issue 6 years ago • 2 comments

After some trouble (mostly imagemagick) i managed to create cows for every pokemon in the national dex*.

The scrapper script has troubles when the alt attribute has special characters in it ("Tapu Koko", "Mr. Mime", "Type:Null"). I modified it a little to use https and read the src attribute that uses // instead of http:// or https://

I hope this is helpful :+1:

scrap_data.sh.zip NationalCows.zip

*Lycanroc Midnight form isn't listed in Bulbapedia's National Dex and it's too late to care now

marcosins avatar Aug 19 '17 06:08 marcosins

Sorry for the close/reopen, i'm too tired. Here's a screenshot in Terminator with multiple generation pokemon. pokemonsaynationaldex

marcosins avatar Aug 19 '17 06:08 marcosins

thanks, you are the best.

nosrednawall avatar Feb 18 '18 15:02 nosrednawall