mikf / gallery-dl

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

Download all galleries in ImageFap user Category #3504

Closed cheese529 closed 1 year ago

cheese529 commented 1 year ago

trying to download all of the galleries created inside an image fap users folder/category does not work at all. using the URL just gives me a message saying it's unsupported. Also images on imagefap are downloaded out of order and sorting them by date does not make any difference. (using latest version of gallery-dl with the default config)

mikf commented 1 year ago

using the URL just gives me a message saying it's unsupported

$ gallery-dl https://www.imagefap.com/profile.php?user=chantale
/tmp/imagefap/10118442 me 1989/imagefap_10118442_161114505.jpg
/tmp/imagefap/10118442 me 1989/imagefap_10118442_1568149598.jpg
/tmp/imagefap/10118442 me 1989/imagefap_10118442_863872722.jpg
...
$ gallery-dl https://www.imagefap.com/profile/chantale
/tmp/imagefap/10118442 me 1989/imagefap_10118442_161114505.jpg
/tmp/imagefap/10118442 me 1989/imagefap_10118442_1568149598.jpg
/tmp/imagefap/10118442 me 1989/imagefap_10118442_863872722.jpg
...

Provide an example if that's not what you meant.

images on imagefap are downloaded out of order

They are downloaded in gallery order. Use {num} in filenames to use an enumeration index.

cheese529 commented 1 year ago

Thank you for responding and please forgive me for being very dumb. I am not experienced with technology at all and this is my first time using a command line program. here is the example for the URL I am trying to download all the galleries on this page(there is 4 pages of galleries). https://www.imagefap.com/organizer/368929/Bondage-Animated-GIFs

regarding the order. when I look at the order for the gallery on imagefap it is different from what I see being downloaded. So how exactly would I go about matching the exact order that the files are posted? I'm not what you mean by this "Use {num} in filenames if want an enumeration index."

mikf commented 1 year ago

https://www.imagefap.com/organizer/368929/Bondage-Animated-GIFs

You are right, these aren't supported yet. Only galleries and full profiles, but not the folders in between.

regarding the order. when I look at the order for the gallery on imagefap it is different from what I see being downloaded. So how exactly would I go about matching the exact order that the files are posted? I'm not what you mean by this "Use {num} in filenames if want an enumeration index."

You can tell gallery-dl to use whatever filenames you want it to, using the metadata fields given by -K. To have them in the "correct" order after download, you could use something like --filename "{num:>03}_{filename}.{extension}"

(see also the filename config option)

cheese529 commented 1 year ago

Will downloading folders ever be supported in the future? In the meantime I guess I can just manually save all the links into a text file and download like that right?

Also if gallery-dl downloads imagefap by gallery order in default then shouldn't it be in the same order that you see on the gallery? Unless gallery order means something else. Also what exactly does using that command you put do. I tried it and the images are in order now but when I sort by date created the order is different vs downloading by default and sorting by date created

mikf commented 1 year ago

Will downloading folders ever be supported in the future?

https://github.com/mikf/gallery-dl/commit/4833ec323ef814fbd5d20ea68faf3ba71ef09baa

Also if gallery-dl downloads imagefap by gallery order in default then shouldn't it be in the same order that you see on the gallery?

Well, it is, or at least it is supposed to.

but when I sort by date created the order is different vs downloading by default and sorting by date created

That should not be the case. The download order is the same regardless of filename.