My god, why did you mention wikidata? SPARQL is the most obscure fucking thing I've ever encountered. I've been sitting here for an hour trying to find how to get the data of a specific page!
I made an iOS Shortcut based on the same code. To use it after installing, access it from the iOS Share screen when you're on a relevant site. It will look for preferred mirrors from Wikidata before running.
Comments
My god, why did you mention wikidata? SPARQL is the most obscure fucking thing I've ever encountered. I've been sitting here for an hour trying to find how to get the data of a specific page!
I guess the rest API will do, ugh.
Related discussion: https://news.ycombinator.com/item?id=28277749
Ok, I'm not just here to bitch. Here's the code for my implementation of Sci-Hub mirror checking: https://observablehq.com/@iz/sci-hub
I made an iOS Shortcut based on the same code. To use it after installing, access it from the iOS Share screen when you're on a relevant site. It will look for preferred mirrors from Wikidata before running.
https://www.icloud.com/shortcuts/080b9f68c96a4491898b804547e...
Always review a Shortcut's actions before running it.