sselph / scraper

A scraper for EmulationStation written in Go using hashing
MIT License
448 stars 88 forks source link

option to log into screenscraper.fr #243

Open NeonLightning opened 5 years ago

NeonLightning commented 5 years ago

sometimes screenscraper.fr locks access out for people without accounts and it causes errors with the scraper.

marknl commented 5 years ago

You may set a username and password via the following two parameters: -ss_password password The password for registered ScreenScraper users. -ss_user username The username for registered ScreenScraper users.

Setting this via RetroPie-Setup is outside the scope of this software and should be requested here: https://github.com/RetroPie/RetroPie-Setup

fillilutten commented 5 years ago

Any way to add username + password in the configs/all/scraper.cfg so you can use the GUI from RetroPie-Setup to initiate a scrape?

franseu commented 4 years ago

Any way to add username + password in the configs/all/scraper.cfg so you can use the GUI from RetroPie-Setup to initiate a scrape?

Open /home/pi/RetroPie-Setup/scriptmodules/supplementary/scraper.sh

Look for params+=(-skip_check) and add params+=(-ss_user "Your username") and params+=(-ss_password "Your password") underneath.

I'd also recommending changing the workers value to how many your accounts has. You should have something looking like this:

params+=(-workers "1") params+=(-skip_check) params+=(-ss_user "Your username") params+=(-ss_password "Your password")

This completely avoids using scraper.cfg and allows you to use RetroPie-Setup.

I tried this solution and now it won't even start scraping, now I don't remember the exact message but it was something along the lines of "No gamesdb api key set, using default", and then it stops the process saying that it finished scraping (when actually it didn't even start). It doesn't make sense given that I was trying to scrape from ScreenScraper and not TheGamesDB...

eALduderino commented 3 years ago

waht does params+=(-workers "1") exactly refer to? I did everything as mentioned but I still get the error invalid character. I even tried different inputs for -workers "1" - "4"