Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for XHamster.com Albums & Photos #281

Closed
github-userx opened this issue May 27, 2019 · 5 comments
Closed

Add support for XHamster.com Albums & Photos #281

github-userx opened this issue May 27, 2019 · 5 comments

Comments

@github-userx
Copy link

Would be great to have a plugin for this.
Gallery_Get already supports it:

https://github.com/regosen/gallery_get/blob/master/gallery_plugins/plugin_xHamster.py

(But I prefer gallery-dl because it’s much more userfriendly and better maintained/features.

@mikf
Copy link
Owner

mikf commented Jun 5, 2019

Support for single galleries and all galleries of a user is done (0960093).

The maximum image size one can download appears to be capped at 1000x1000. That's also what ripme and gallery_get download, and I havn't found a way around this restriction, so I guess that's fine ...

(I tested this with an 2048x2048 PNG, but it wouldn't let me download the original file, no matter what I tried)

@mikf mikf closed this as completed Jun 5, 2019
@github-userx
Copy link
Author

github-userx commented Jun 5, 2019 via email

@Hrxn
Copy link
Contributor

Hrxn commented Jun 5, 2019

Support for single galleries and all galleries of a user is done (0960093).

The maximum image size one can download appears to be capped at 1000x1000. That's also what ripme and gallery_get download, and I havn't found a way around this restriction, so I guess that's fine ...

(I tested this with an 2048x2048 PNG, but it wouldn't let me download the original file, no matter what I tried)

Just to understand that correctly: the same limitation is in place for images displayed in the browser, like a normal end-user browsing the site?

@mikf
Copy link
Owner

mikf commented Jun 5, 2019

Yes, it is. I created a new account and uploaded a test image to a new gallery, but the max resolution I could re-download my own image as, while being logged in, is 1000x1000. And as a JPEG no less.

The image URLs look like

https://thumb-p5.xhcdn.com/a/hHAvMOxMx-O5LbAndcDtuQ/000/285/134/955_1000.jpg
https://thumb-p5.xhcdn.com/a/pIYWO6VgvZHlr8AT5bzMYA/000/285/134/955_450.jpg

and you'd think removing the _1000 or _450 could help, but that just results in a 403 Forbidden message.

@github-userx
Copy link
Author

github-userx commented Jun 6, 2019 via email

@mikf mikf added the nsfw label Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants