Hot-Honeys



.

Author Topic: REQ: pimpandhost  (Read 505 times)

0 Members and 1 Guest are viewing this topic.

Offline pcaca

  • Newbie
  • *
  • Joined: Dec 2016
  • Posts: 9
  • Reputation: 0
REQ: pimpandhost
« on: December 06, 2016, 08:42 pm »
I think pimpandhost has changed its file storage so IHG doesn't work on these files any more: they appear as "file not found", while the files are there, you can see them clicking on the thumbnail

thread / link: http://vintage-erotica-forum.com/showpost.php?p=2705974&postcount=35
example image: http://pimpandhost.com/image/26012729

I'll appreciate a fix to the host file, or indication on how to address the issue.

Thank you in advance.

Offline SenileDog

  • Moderator
  • *****
  • Joined: Apr 2016
  • Location: US West Coast
  • Posts: 493
  • Images: 653
  • Reputation: 20
  • Gender: Male
Re: REQ: pimpandhost
« Reply #1 on: December 07, 2016, 01:46 am »
Yup, good job posting in a new thread!

try this:

Topic: http://hot-honeys.com/index.php?topic=5095.0

Label: pimpandhost

Type: update

URL Pattern:

Code: [Select]
^http:\/\/(?:image\.|www\.)?pimpandhost\.com\/(?:(?:image|guest)\/.+\.html|image\/show\/id\/\d+)$
Search Pattern:

Code: [Select]
function(pageData, pageUrl) {
var retVal = {};
if (pageUrl.match(/-original\.html$/)) var iUrl = pageData.match(/src="(http:\/\/.+?)"/);
else {
if (pageUrl.match(/\.html$/)) {
retVal.imgUrl = pageUrl.replace(/.+\/(\d+)_x\.html$/, "http://image.pimpandhost.com/image/$1-medium.html");
retVal.imgUrl = retVal.imgUrl.replace(/(^http.+-)\w+\.html$/, "$1original.html");
}
else retVal.imgUrl = pageUrl.replace(/^http.+\/show\/id\/(\d+)$/, "http://pimpandhost.com/image/$1-original.html");
retVal.status = "REQUEUE";
return retVal;
}
return iUrl ? {imgUrl: iUrl[1], status: "OK"} : {imgUrl: null, status: "ABORT"}
}



Offline pcaca

  • Newbie
  • *
  • Joined: Dec 2016
  • Posts: 9
  • Reputation: 0
Re: REQ: pimpandhost
« Reply #2 on: December 07, 2016, 08:09 am »
Great!, thank you very much...

Offline astrax

  • Newbie
  • *
  • Joined: Aug 2016
  • Posts: 12
  • Reputation: 0
Re: REQ: pimpandhost
« Reply #3 on: December 17, 2016, 10:52 am »
Is it possible, that this update doesn't work already anymore? I still/always get the "no images found..." message.

Offline firewaran

  • Moderator
  • *****
  • Joined: Apr 2016
  • Posts: 251
  • Reputation: 17
  • Gender: Male
Re: REQ: pimpandhost
« Reply #4 on: December 18, 2016, 02:27 pm »
Just tested with the solution from SD, and it works on your link just fine.
Do you have another one where it is not working?

Offline artfulbodger

  • Moderator
  • *****
  • Joined: Apr 2016
  • Location: Northern Hemisphere
  • Posts: 143
  • Reputation: 14
Re: REQ: pimpandhost
« Reply #5 on: December 18, 2016, 03:52 pm »
Hi astrax, I see from your previous posts that you've had problems with IHG and Pale Moon in the past. Could you let us know which versions of them you're running please. The hostf date isn't relevant because the solution isn't in it yet, you have to put it in manually. Are you confident that you've done that correctly?

Art.

Offline Alex1964

  • Newbie
  • *
  • Joined: Dec 2016
  • Location: Russia
  • Posts: 1
  • Reputation: 0
  • Gender: Male
Re: REQ: pimpandhost
« Reply #6 on: December 19, 2016, 03:29 am »
Just checked - update works perfectly. Browser: Pale Moon ver. 27.0.3(x64)
Thank you!

Offline pcaca

  • Newbie
  • *
  • Joined: Dec 2016
  • Posts: 9
  • Reputation: 0
Re: REQ: pimpandhost
« Reply #7 on: December 23, 2016, 06:21 pm »
Hi again.

The manual update you provided is working for some Pimpandhost pages, but not all. This is an example Pimpandhost page where IHG doesn't retrieve the files, even if they are there:

example page: http://vintage-erotica-forum.com/showpost.php?p=3618030&postcount=201
example image: http://pimpandhost.com/image/54318926

Can you please re-check the update?

Thanks

Offline firewaran

  • Moderator
  • *****
  • Joined: Apr 2016
  • Posts: 251
  • Reputation: 17
  • Gender: Male
Re: REQ: pimpandhost
« Reply #8 on: December 24, 2016, 11:40 am »
Hi, i cannot use your example. The pages ask member credentials.
Please read http://hot-honeys.com/index.php?topic=712.0

Offline astrax

  • Newbie
  • *
  • Joined: Aug 2016
  • Posts: 12
  • Reputation: 0
Re: REQ: pimpandhost
« Reply #9 on: December 24, 2016, 01:00 pm »
Could you let us know which versions of them you're running please. The hostf date isn't relevant because the solution isn't in it yet, you have to put it in manually. Are you confident that you've done that correctly?
I'm using Pale Moon portable 26.3.0 (x64) and I added the change for pimpandhost manually. I also re-checked a couple of times that they were saved.

I also download quite often through the Vintage Erotica Forums, so I have the same issues as mentioned above.

Offline astrax

  • Newbie
  • *
  • Joined: Aug 2016
  • Posts: 12
  • Reputation: 0
Re: REQ: pimpandhost
« Reply #10 on: December 24, 2016, 01:02 pm »
Hi, i cannot use your example. The pages ask member credentials.
Please read http://hot-honeys.com/index.php?topic=712.0
This is a direct link to one of the pictures linked from that post: http://pimpandhost.com/image/54318946
Even if I want to use IHG there, I get the "no images..." message.

Offline SenileDog

  • Moderator
  • *****
  • Joined: Apr 2016
  • Location: US West Coast
  • Posts: 493
  • Images: 653
  • Reputation: 20
  • Gender: Male
Re: REQ: pimpandhost
« Reply #11 on: December 24, 2016, 07:28 pm »
Astrax, read carefully the link given by firewaran, next time I will delete your post if you blatantly ignore his recommandation.   :mad:

We need a bloody link to the collection of pics to WORK on it! pm a username and password to firewaran and/or me or you will be ignored!

Is that clear enough for you? SD

Try German next time, we all speak it more or less.

Offline pcaca

  • Newbie
  • *
  • Joined: Dec 2016
  • Posts: 9
  • Reputation: 0
Re: REQ: pimpandhost
« Reply #12 on: December 27, 2016, 03:51 pm »
Please use this pimpandhost album as an example, it doesn't require userid / password:

collection: http://pimpandhost.com/album/4630411
example image: http://pimpandhost.com/image/60908239

I get a "no images found" message when I try to download all the files in the collection.

I'm using Pale Moon 27.0.3 (x86) - the latest version, and IHG 1.7.0.4a - I think it's the latest version as well

I have seen that the host file has just been updated, and the pimpandhost section is now exactly as the code you provided in this topìc, so I'm sure I'm using it when trying to download the pictures. Interestingly, in some threads / collections with pimpandhost images the new code works fine, but not in others, like the one I provide here as an example.

I'll appreciate your thoughts. Maybe there's something wrong with my configuration.

Thanks,

pcaca

Offline firewaran

  • Moderator
  • *****
  • Joined: Apr 2016
  • Posts: 251
  • Reputation: 17
  • Gender: Male
Re: REQ: pimpandhost
« Reply #13 on: December 27, 2016, 05:21 pm »
With the following solution i can download the images at your example.
I hope i did not break the others. Could you please check them out?

Please report back, thank you!

Label: pimpandhost
Type: update

URL Pattern:
Code: [Select]
^http:\/\/(?:image\.|www\.)?pimpandhost\.com\/(?:(?:image|guest)\/.+\.html|image\/(show\/id\/)?\d+)$Search Pattern:
Code: [Select]
function(pageData, pageUrl) {
var retVal = {};
if (pageUrl.match(/-original\.html$/)) {
var iUrl = pageData.match(/src="(http:\/\/.+?)"/);
} else {
if (pageUrl.match(/\.html$/)) {
retVal.imgUrl = pageUrl.replace(/.+\/(\d+)_x\.html$/, "http://image.pimpandhost.com/image/$1-medium.html");
retVal.imgUrl = retVal.imgUrl.replace(/(^http.+-)\w+\.html$/, "$1original.html");
} else {
if (pageUrl.match(/\/show\/id\/(\d+)/)) {
retVal.imgUrl = pageUrl.replace(/^http.+\/show\/id\/(\d+)$/, "http://pimpandhost.com/image/$1-original.html");
} else {
return {imgUrl: pageData.match(/img.+id=("|')main-image\1.+src=\1(.+?)\1/)[2], status: "OK"}
}
}
retVal.status = "REQUEUE";
return retVal;
}
return iUrl ? {imgUrl: iUrl[1], status: "OK"} : {imgUrl: null, status: "ABORT"}
}

Offline pcaca

  • Newbie
  • *
  • Joined: Dec 2016
  • Posts: 9
  • Reputation: 0
Re: REQ: pimpandhost
« Reply #14 on: December 27, 2016, 06:34 pm »
Thank you, @firewaran.

By now your fix seem to work well on the "file not found" cases. Let me do a more comprehensive check with other pimpandhost collections. There's another weird situation were some files are actually downloaded by IHG, however they are not the right ones but some weird, very small "png" files like the ones I'm attaching.

I'll come back to the thread with more feedback.

Regards,

pcaca