Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. uncategorized
  3. Okay so, for my tests, I have a few fedi instances on which gallery-dl fails to download:

Okay so, for my tests, I have a few fedi instances on which gallery-dl fails to download:

Scheduled Pinned Locked Moved uncategorized
9 Posts 2 Posters 0 Views
  • 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.
  • soblow@eldritch.cafeS This user is from outside of this forum
    soblow@eldritch.cafeS This user is from outside of this forum
    soblow@eldritch.cafe
    wrote last edited by
    #1

    Okay so, for my tests, I have a few fedi instances on which gallery-dl fails to download:

    • 5 Akkoma
    • 2 Pleroma
    • 2 Sharkey
    • 3 GoToSocial
    • 3 Iceshrimp
    soblow@eldritch.cafeS 1 Reply Last reply
    0
    • soblow@eldritch.cafeS soblow@eldritch.cafe

      Okay so, for my tests, I have a few fedi instances on which gallery-dl fails to download:

      • 5 Akkoma
      • 2 Pleroma
      • 2 Sharkey
      • 3 GoToSocial
      • 3 Iceshrimp
      soblow@eldritch.cafeS This user is from outside of this forum
      soblow@eldritch.cafeS This user is from outside of this forum
      soblow@eldritch.cafe
      wrote last edited by
      #2

      Now I need to check if the reason they fail is that they reject public access.

      soblow@eldritch.cafeS 1 Reply Last reply
      0
      • soblow@eldritch.cafeS soblow@eldritch.cafe

        Now I need to check if the reason they fail is that they reject public access.

        soblow@eldritch.cafeS This user is from outside of this forum
        soblow@eldritch.cafeS This user is from outside of this forum
        soblow@eldritch.cafe
        wrote last edited by
        #3

        So, for each category:

        • Akkoma / Pleroma / GTS
          => All of them work without any issue in web browser, so I suppose gallery-dl simply doesn't have the required extractor.

        • Sharkey
          => Seems like all the problematic links don't work in browser, only in another fedi instance. So it's not a gallery-dl issue

        • Iceshrimp
          => I have no dirting idea of what happens. One of them works in browser, a second works partially, one last doesn't. All work in another fedi instance.

        Conclusion: gallery-dl may be missing required API for Akkoma/Pleroma/GTS, and fails on instances which disabled public view. No idea what iceshrimp does tho.

        soblow@eldritch.cafeS 1 Reply Last reply
        0
        • soblow@eldritch.cafeS soblow@eldritch.cafe

          So, for each category:

          • Akkoma / Pleroma / GTS
            => All of them work without any issue in web browser, so I suppose gallery-dl simply doesn't have the required extractor.

          • Sharkey
            => Seems like all the problematic links don't work in browser, only in another fedi instance. So it's not a gallery-dl issue

          • Iceshrimp
            => I have no dirting idea of what happens. One of them works in browser, a second works partially, one last doesn't. All work in another fedi instance.

          Conclusion: gallery-dl may be missing required API for Akkoma/Pleroma/GTS, and fails on instances which disabled public view. No idea what iceshrimp does tho.

          soblow@eldritch.cafeS This user is from outside of this forum
          soblow@eldritch.cafeS This user is from outside of this forum
          soblow@eldritch.cafe
          wrote last edited by
          #4

          Okay, my conclusions so far:

          • Akkoma/Pleroma URLs with "notice" can be passed directly as a regular mastodon url to gallery-dl and require a simple regex modification
          • Akkoma/Pleroma URLs with "objects" seem to not work with that API, but attempting to curl them will redirect to the "notice" URL so perhaps there's an API endpoint to convert it?
          • GTS: All of them seem to require some kind of token, I didn't look at the documentation yet but this might be an issue...
          soblow@eldritch.cafeS 1 Reply Last reply
          0
          • soblow@eldritch.cafeS soblow@eldritch.cafe

            Okay, my conclusions so far:

            • Akkoma/Pleroma URLs with "notice" can be passed directly as a regular mastodon url to gallery-dl and require a simple regex modification
            • Akkoma/Pleroma URLs with "objects" seem to not work with that API, but attempting to curl them will redirect to the "notice" URL so perhaps there's an API endpoint to convert it?
            • GTS: All of them seem to require some kind of token, I didn't look at the documentation yet but this might be an issue...
            soblow@eldritch.cafeS This user is from outside of this forum
            soblow@eldritch.cafeS This user is from outside of this forum
            soblow@eldritch.cafe
            wrote last edited by
            #5

            Okay so GTS documentation 1 indicates that all API requests require an authentication token, which requires the user to register an app and do some oauth authentication...
            ... and then it requires a client registered on the instance.

            What?!

            soblow@eldritch.cafeS 1 Reply Last reply
            0
            • soblow@eldritch.cafeS soblow@eldritch.cafe

              Okay so GTS documentation 1 indicates that all API requests require an authentication token, which requires the user to register an app and do some oauth authentication...
              ... and then it requires a client registered on the instance.

              What?!

              soblow@eldritch.cafeS This user is from outside of this forum
              soblow@eldritch.cafeS This user is from outside of this forum
              soblow@eldritch.cafe
              wrote last edited by
              #6

              So you can't do any API request on GTS without having a user account on the target instance?

              ??!?

              awoo@gts.apicrim.esA 1 Reply Last reply
              0
              • soblow@eldritch.cafeS soblow@eldritch.cafe

                So you can't do any API request on GTS without having a user account on the target instance?

                ??!?

                awoo@gts.apicrim.esA This user is from outside of this forum
                awoo@gts.apicrim.esA This user is from outside of this forum
                awoo@gts.apicrim.es
                wrote last edited by
                #7

                @Soblow yup

                but i like this :3

                soblow@eldritch.cafeS 1 Reply Last reply
                0
                • awoo@gts.apicrim.esA awoo@gts.apicrim.es

                  @Soblow yup

                  but i like this :3

                  soblow@eldritch.cafeS This user is from outside of this forum
                  soblow@eldritch.cafeS This user is from outside of this forum
                  soblow@eldritch.cafe
                  wrote last edited by
                  #8

                  @awoo How does federation work in that case?!

                  awoo@gts.apicrim.esA 1 Reply Last reply
                  0
                  • soblow@eldritch.cafeS soblow@eldritch.cafe

                    @awoo How does federation work in that case?!

                    awoo@gts.apicrim.esA This user is from outside of this forum
                    awoo@gts.apicrim.esA This user is from outside of this forum
                    awoo@gts.apicrim.es
                    wrote last edited by awoo@gts.apicrim.es
                    #9

                    @Soblow server to server stuff works just fine (requiring authorized fetch)! but client to server requires authentication 😜

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Login or register to search.
                    Powered by NodeBB Contributors
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups