AAndyProgram / SCrawler

🏳️‍🌈 Media downloader from any sites, including Twitter, Reddit, Instagram, Threads, Facebook, OnlyFans, YouTube, Pinterest, PornHub, XHamster, XVIDEOS, ThisVid etc.
https://discord.gg/uFNUXvFFmg
GNU General Public License v3.0
1.29k stars 85 forks source link

[BUG] Photo galleries from PornHub are not downloading #115

Closed blackgur closed 1 year ago

blackgur commented 1 year ago

Describe the bug Photo galleries from PH are not downloading.

To Reproduce Steps to reproduce the behavior:

  1. Profile URL: https://www.pornhub.com/model/sa-shulya-slut
  2. Whether or not "Download photos only from modelhub" is checked is irrelevant. With the checkbox unchecked, the program only creates a folder with the name of the photo album but does not download photos.
  3. The only thing in the log is "Some posts didn't download. You can see them in the 'Missing posts' form.". But the missing posts are empty. SCrawler_FaAv2h2AP0

Release information (please complete the following information):

AAndyProgram commented 1 year ago

I need time to find out what happened. I think it might be because PornHub redirects to ModelHub for her albums, but ModelHub is showing 404 error (https://www.modelhub.com/sa-shulya-slut/photos).

AAndyProgram commented 1 year ago

Will be fixed in the next version. You will need to uncheck Download photo only from ModelHub.

AAndyProgram commented 1 year ago

Fixed. Please update to the latest release.

blackgur commented 1 year ago

After updating the app still does not download photos. Checkbox «Download photo only from ModelHub» removed for users who have 404 error on modelhub.

AAndyProgram commented 1 year ago

Hm... Interesting... Try to remove this profile from SCrawler and add it again with Download photo only from ModelHub unchecked.

AAndyProgram commented 1 year ago

I swear I tested this profile and everything was processed. The only thing I can guess is that the profile is already linked to the ModelHub downloader function.

AAndyProgram commented 1 year ago

You can also try changing the PhotoPageModel parameter in the user's settings file (in the user's settings path) to 0 (zero). Then restart SCrawler

AAndyProgram commented 1 year ago

Setting PhotoPageModel to 0 tells SCrawler to detect the page type again. PornHub value is 1 ModelHub value is 2

https://github.com/AAndyProgram/SCrawler/blob/b2a9b224780d969103ce7eebf541c49ec4253428/SCrawler/API/PornHub/UserData.vb#L90-L94

AAndyProgram commented 1 year ago

Have you tried?

blackgur commented 1 year ago

I tried deleting these users - didn't help. I tried changing the variables in user settings - did not help. I deleted them in the application + settings folder - didn't help.

When I have time I will try to download these users using a clean client.

AAndyProgram commented 1 year ago

image

AAndyProgram commented 1 year ago

Are you sure that "Download images" is checked in this user's settings?

blackgur commented 1 year ago

I don't know. Even from a clean client with the checkbox unchecked, the photos are not downloaded. image

blackgur commented 1 year ago

Are you sure that "Download images" is checked in this user's settings?

Yeah, im sure image

AAndyProgram commented 1 year ago

Try adding cookies. Even if it doesn't work, I can't help, sorry.

blackgur commented 1 year ago

Cookies don't help either. 🤷‍♂️

AAndyProgram commented 1 year ago

Sorry, I don't know what's going on. I can download it. You've seen the screenshot.

blackgur commented 1 year ago

I believe you. It's just not clear why I can't do it. I don't have any restrictions from the state on this site.

AAndyProgram commented 1 year ago

Where are you from? Maybe you can try to download via VPN?

blackgur commented 1 year ago

Central Asia. But private VPN didn't help either

blackgur commented 1 year ago

Do you have any mechanism for getting more detailed logs than you have now?

AAndyProgram commented 1 year ago

Central Asia. But private VPN didn't help either

Oh, sure, Cyrillic encoding. If you mean Russia, one guy from Russia told me last year that he can't download some posts, but he can see them and I can download them. The problem was solved through VPN. However, you say the VPN doesn't work.

Do you have any mechanism for getting more detailed logs than you have now?

Unfortunately no.

I've tested a clean install and confirm that without cookies, I can't download that person's albums either. Once I added the cookies, I downloaded all the photos. I'm attaching the settings for test. What should you do:

  1. Create a new folder and unpack SCrawler into it
  2. Unpack this archive into it too
  3. Launch SCrawler
  4. Open your PornHub settings and add cookies
  5. Make sure the VPN is on
  6. Click download

TestSettings.zip

blackgur commented 1 year ago

No, not Russia. But I use Cyrillic encoding. Test settings didn't help - with or without VPN.

AAndyProgram commented 1 year ago

Sorry. I don't know what to say. I tried my best.

blackgur commented 1 year ago

At the same time profiles that have photos on modelhub download without any problems. Strange.