Has anyone tried scraping IGDB with Skyscraper recently? My api key is getting rejected
-
I'm trying to scrape igdb, but it keeps rejecting my api key. I'm pasting the key directly in (not trying to type it out). Here is my command line entry:
/opt/retropie/supplementary/skyscraper/Skyscraper --unattend --skipped -g /home/pi/.emulationstation/gamelists/n64 -o /home/pi/.emulationstation/downloaded_media/n64 -p n64 -s igdb -u MYPASTEDAPIKEY --videos --nobrackets
Does anything look wrong with that line? The error message is: "The key you provided with either the '-u [key]' command line option or the 'userCreds="[key]" variable to config.ini does not seem to work. Now quitting..."
I'm on version 2.9.5 of Skyscraper
Update: I just tried generating a new key, but that one didn't work either.
-
Same error over here. Skyscraper 2.9.5. With igdb API-Key.
Adding
--verbosity 3
adds no extra details.Just to make sure your API-key is right, try:
curl 'https://api-endpoint.igdb.com/games' -H 'user-key: <your_key_here>'
--> should return an authentication failure ANDcurl 'https://api-v3.igdb.com/games' -H 'user-key: <your_key_here>'
--> should give you a JSON formatted array of ten records.So the URL changed from
api-endpoint.igdb.com
toapi-v3.igdb.com
.By the time I will file a PR at Github. In the meantime you can help yourself:
sudo ~/RetroPie-Setup/retropie_packages.sh skyscraper depends sudo ~/RetroPie-Setup/retropie_packages.sh skyscraper sources
Do edits in
~/RetroPie-Setup/tmp/build/skyscraper/src/igdb.cpp
: The values of the variablesbaseUrl
andsearchUrlPre
should reflect the new URL.Then:
sudo ~/RetroPie-Setup/retropie_packages.sh skyscraper get_opts sudo ~/RetroPie-Setup/retropie_packages.sh skyscraper get_bins sudo ~/RetroPie-Setup/retropie_packages.sh skyscraper build sudo ~/RetroPie-Setup/retropie_packages.sh skyscraper install
Clean (optional):
sudo ~/RetroPie-Setup/retropie_packages.sh skyscraper clean
Run Skyscraper again as in your original post. It should work then.
HTH
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.