Page 1 of 1

xHamster - How to download galleries behind a user's favorite photos

Posted: 26 Feb 2020, 14:04
by Xaver Schmidt
On the Extreme Picture Finder homepage there are already xHamster templates available, but there is no template for the above task.

First, let's take a look at the structure of favorite photo galleries:

https://xhamster.com/users/USERNAME/favorites/photos
https://xhamster.com/users/USERNAME/favorites/photos/2
https://xhamster.com/users/USERNAME/favorites/photos/3
and so on.

On each of these pages there are up to 60 photo thumbnails. Each photo is part of a gallery. And we want to download all those galleries.

Luckily the above pages are not flooded with unneeded information, so it is easy to find and extract all photo links.

Those links are in the following format. The numbers however can be longer or shorter
https://xhamster.com/photos/gallery/1234567/98765432

Good thing is, that we just have to remove the last number, to get a working link to the gallery behind that photo. In this example that is:
https://xhamster.com/photos/gallery/1234567

So, the only thing left to do is use all shortened photo links and use them as start addresses in a new project. Extreme Picture Finder will automatically choose the correct template: 'xhamster.com - gallery template'. And this template will even save those galleries to folders with the full gallery name, not only the numbers.

Those of you, who are familiar with creating templates will for sure be able to automate the whole thing.

Re: xHamster - How to download galleries behind a user's favorite photos

Posted: 26 Feb 2020, 14:29
by Maksym
Here is a template to download all favorite galleries of any xHamster.com user:

xhamster.com - all favorite galleries from selected user

And this one is for favorite videos:

xhamster.com - all favorite videos from selected user

Re: xHamster - How to download galleries behind a user's favorite photos

Posted: 23 Nov 2021, 12:00
by Maksym
And here is a generic tutorial showing how to download photos and videos from different parts of xHamster.com:

Download xhamster.com photo galleries and videos