RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    [SOFT] New Scraper in the works

    Scheduled Pinned Locked Moved Projects and Themes
    scrapingscrappersoftware
    253 Posts 7 Posters 59.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • kiroK
      kiro
      last edited by

      I'm running out of ideas on what features I could add to the scraper... anyone has any ideas on what they would like to have in their ideal scraper? Thanks!

      ClydeC 1 Reply Last reply Reply Quote 0
      • ClydeC
        Clyde @kiro
        last edited by

        @kiro Hi, I haven't forgotten about you. I just didn't get around to occupy myself with it because of a "mild" COVID illness that nevertheless took me out for two weeks.

        Just saying, stay tuned. 🙂

        kiroK 1 Reply Last reply Reply Quote 0
        • kiroK
          kiro @Clyde
          last edited by

          @Clyde Hope you're ok! let me know if you have any issues testing the software! Thanks again!

          1 Reply Last reply Reply Quote 1
          • kiroK
            kiro
            last edited by

            Hi @mitu, sorry to bother. How could I do to get my scraper into the retro-pie setup script? Is there any process that needs to be taken? or are you not accepting any more scrapers? Thanks!

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @kiro
              last edited by

              @kiro said in [SOFT] New Scraper in the works:

              Is there any process that needs to be taken?

              Any modifications to RetroPie are added via the Github project, at https://github.com/RetroPie/RetroPie-Setup, either directly (by project maintainers) or via Pull Requests.

              are you not accepting any more scrapers? Thanks!

              No, we're open to improvements. I would advise first to open topic in the forums with installation/operations instructions so users can test it and provide feedback, before submitting it to RetroPie-Setup. Also, while providing the source for your program is not mandatory, it would be useful for users to be able to compile on their own platform without relying on a distributed binary.

              I tried downloading the program from your web page, but clicking on the download link opens a 'application/json' page filled with binary data - the download link is not working properly.

              kiroK 1 Reply Last reply Reply Quote 0
              • kiroK
                kiro @mitu
                last edited by

                Hi @mitu Thanks for the explanation, really appreciate it!!

                I'll have a look on why you're getting that! Thanks! I've had others download without issues. Which browser/os are you using by the way?

                I will provide a source for the scraper as soon as I feel it is ready to be distributed, still working on it.

                mituM 1 Reply Last reply Reply Quote 0
                • kiroK kiro referenced this topic on
                • mituM
                  mitu Global Moderator @kiro
                  last edited by mitu

                  @kiro said in [SOFT] New Scraper in the works:

                  Which browser/os are you using by the way?

                  Firefox on Linux/Windows or plain old wget:

                  wget http://77.68.23.83/dist/retroscraper.rpi
                  --2022-04-06 15:45:37--  http://77.68.23.83/dist/retroscraper.rpi
                  Connecting to 77.68.23.83:80... connected.
                  HTTP request sent, awaiting response... 200 OK
                  Length: 194481976 (185M) [text/plain]
                  Saving to: ‘retroscraper.rpi’
                  
                  retroscraper.rpi                           81%[==================================================================>                ] 150,53M  11,1MB/s    eta 4s
                  
                  kiroK 1 Reply Last reply Reply Quote 0
                  • kiroK
                    kiro @mitu
                    last edited by kiro

                    @mitu and did you try executing the retroscraper.rpi file? (chmod 755 and ./) ?

                    Warning: if you execute with the --cli modifier it will start scraping directly!
                    It will not overwrite the gamelist.xml until each system is done. I need to implement a backup of gamelist.xml to prevent losing any manual changes that may have been done to them!

                    Thx!

                    mituM 1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator @kiro
                      last edited by

                      @kiro said in [SOFT] New Scraper in the works:

                      and did you try executing the retroscraper.rpi file ?

                      Yes, and I didn't get any message, just stands there doing something/nothing ?
                      I've tried with --cli and/or --help and nothing is displayed. I've just interrupted it from what it did, noticed it has created an - almost - empty retroscraper.cfg file.

                      kiroK 1 Reply Last reply Reply Quote 0
                      • kiroK
                        kiro @mitu
                        last edited by

                        Thanks @mitu ... without --cli flag it will work only if you have a desktop (sdl2) available.... It is strange about the 'nothing happening' with the --cli... Are you trying on a machine that has the es_systems.cf in the usual place? (/etc/emulationstation)?

                        That it creates an empty cfg is normal upon first run.

                        Is your machine connected to the internet? I assume yes, but I have not seen anything hitting the backend, so it looks like it is not connecting?

                        I'll have a look...thanks again!

                        mituM S 2 Replies Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @kiro
                          last edited by mitu

                          without --cli flag it will work only if you have a desktop (sdl2) available....

                          I see no error message about not having a desktop env.

                          It is strange about the 'nothing happening' with the --cli... Are you trying on a machine that has the es_systems.cf in the usual place? (/etc/emulationstation)?

                          Yes, I have a standard RetroPie EmulationStation installed.

                          Is your machine connected to the internet? I assume yes, but I have not seen anything hitting the backend, so it looks like it is not connecting?

                          Well, yes, otherwise I wouldn't have been able to download it.

                          To be honest, I don't like the fact that's trying to connect somewhere without my choosing any options. Which 'backend' does it connect to ? I don't see anything mentioned on the download page.

                          kiroK 1 Reply Last reply Reply Quote 0
                          • kiroK
                            kiro @mitu
                            last edited by

                            @mitu it connects to my server to verify that the version running is ok, and to download the images (if running on non cli mode) and translations . It is the same IP as the download server...but it is strange I do not see it hitting this server (I see in the logs if scraping is being accessed)... I'll try later again in my RPI, but it should at least hit the server to download the startup data...strange..

                            mituM 1 Reply Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator @kiro
                              last edited by

                              @kiro said in [SOFT] New Scraper in the works:

                              it connects to my server to verify that the version running is ok

                              I though it would use one of the various scraping sources - doesn't it use them for downloading the artwork/metadata ?

                              kiroK 1 Reply Last reply Reply Quote 0
                              • S
                                sleve_mcdichael @kiro
                                last edited by

                                @kiro said in [SOFT] New Scraper in the works:

                                Are you trying on a machine that has the es_systems.cf in the usual place? (/etc/emulationstation)?

                                What if I'm not?

                                https://retropie.org.uk/docs/EmulationStation/#es_systemscfg-edits

                                kiroK 1 Reply Last reply Reply Quote 0
                                • kiroK
                                  kiro @sleve_mcdichael
                                  last edited by

                                  @sleve_mcdichael it does look in all those possible directories, if not you can edit the config if running in cli mode or choose it if you're running in windowed mode.

                                  1 Reply Last reply Reply Quote 0
                                  • kiroK
                                    kiro @mitu
                                    last edited by

                                    @mitu nope, it uses its own server.

                                    mituM 1 Reply Last reply Reply Quote 0
                                    • mituM
                                      mitu Global Moderator @kiro
                                      last edited by

                                      @kiro said in [SOFT] New Scraper in the works:

                                      nope,

                                      I see. Then this is a nope from me also.

                                      1 Reply Last reply Reply Quote 0
                                      • kiroK
                                        kiro
                                        last edited by

                                        If anyone is interested, I've released the source code here: https://github.com/zayamatias/retroscraper

                                        Enjoy :-)

                                        kiroK 1 Reply Last reply Reply Quote 1
                                        • kiroK
                                          kiro @kiro
                                          last edited by

                                          A new version is out, it allows you to keep your favorites and play count after scraping (among other bug fixes).

                                          https://github.com/zayamatias/retroscraper

                                          kiroK 1 Reply Last reply Reply Quote 0
                                          • kiroK kiro referenced this topic on
                                          • kiroK
                                            kiro @kiro
                                            last edited by

                                            A new slimmed-down version of the scraper is available and should be easier to install and run, check it out here:

                                            https://github.com/zayamatias/retroscraper-rpie

                                            Thanks for your feedback!

                                            F 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            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.