mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
10.66k stars 880 forks source link

szurubooru api booru giving unsupported url #5711

Closed Nicosow2 closed 2 weeks ago

Nicosow2 commented 2 weeks ago

I tried to download the gallery from a booru website from an artist that uses the szurubooru api, and it's gave unsupported url, is there any way to download it? the url is https://booru.gensin.city

mikf commented 2 weeks ago

Prefix URLs with szurubooru:

$ gallery-dl szurubooru:https://booru.gensin.city/post/562
booru.gensin.city/562_2_2e551644725277eb09a9cbc048443980.png

or add it to your config like here, but for szurubooru.

Nicosow2 commented 2 weeks ago

Prefix URLs with szurubooru:

$ gallery-dl szurubooru:https://booru.gensin.city/post/562
booru.gensin.city/562_2_2e551644725277eb09a9cbc048443980.png

or add it to your config like here, but for szurubooru.

Prefix URLs with szurubooru:

$ gallery-dl szurubooru:https://booru.gensin.city/post/562
booru.gensin.city/562_2_2e551644725277eb09a9cbc048443980.png

or add it to your config like here, but for szurubooru.

}, "szurubooru": { "root": "https://booru.gensin.city/posts" } like this? i was thinking of using https://booru.gensin.city/posts, since i want to download everything that was posted on the site, but i think i made a mistake in this part of the config because it gave the error of the unsupported site or i used the wrong url, or both 😃 and i tried to do the first method replacing the url with the posts one but gave the same error

smowtenshi commented 2 weeks ago

or add it to your config like here, but for szurubooru.

}, "szurubooru": { "root": "booru.gensin.city/posts" } like this?

Try

"szurubooru": {
        "gensin.city": {
            "root": "https://booru.gensin.city/"
        }
}
Nicosow2 commented 2 weeks ago

or add it to your config like here, but for szurubooru.

}, "szurubooru": { "root": "booru.gensin.city/posts" } like this?

Try

"szurubooru": {
      "gensin.city": {
          "root": "https://booru.gensin.city/"
      }
}

sadly same error again, I would even give up but the fact that if you prefix an specific post url it works makes me think that there must be some way to download all at once

mikf commented 2 weeks ago
gallery-dl "szurubooru:https://booru.gensin.city/posts/query= "

(the space at the end is necessary)