internetarchive / iare

An interactive IARI JSON viewer
GNU Affero General Public License v3.0
5 stars 4 forks source link

bug: 0.1.16 does not count books.google urls at all #42

Closed dpriskorn closed 1 year ago

dpriskorn commented 1 year ago

https://internetarchive.github.io/iare/?url=https://en.wikipedia.org/wiki/Easter_Island -> 0 google books but I found many by searching the article e.g.: image

mojomonger commented 1 year ago

Fixed in commit 6043367

in refFilters.js, the formula i was using was:

url.includes("https://archive.org/details/googlebooks")

which is obviously wrong. i changed it to use:

url.includes("https://books.google.com/")

dpriskorn commented 1 year ago

Wohoo 🤩