View Single Post
Old May 11th, 2018, 12:07 PM   #187
halvar
Blocked!
 
Join Date: Jan 2008
Location: HH
Posts: 1,963
Thanks: 115,040
Thanked 32,801 Times in 1,955 Posts
halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+halvar 100000+
Default

Old or new should not matter. The HTML page behind that URL is downloaded, no matter what the URL looks like. The challenge is usually to find the image and the original filename on that page.

I just downloaded post
Quote:
Originally Posted by chrisnewcombe View Post
some more very hot shots of the incredible Gillian
and got 11 images.
Is that the kind of post you are referring to? It seems to have old style URLs:
HTML Code:
<a href="http://image.pimpandhost.com/guest/498275_x.html" target="_blank"><img src="http://pimpandhost.com/media/simple/1/thumbs/7d156ac06bf7_1.jpg" border="0" alt="" onload="..." /></a>
I think the problem is the pimpandhost urlpattern in the IHG hostfile
HTML Code:
<host id="pimpandhost"><urlpattern>^https?:\/\/(?:image\.|www\.)?pimpandhost\.com\/image\/.+?$</urlpattern><searchpattern>function(pageData, pageUrl) {
	var iUrl = pageData.match(/img class=('|")normal\1 src=('|")(https?:\/\/.+?)(_l)?(\.(gif|jpe?g|png|GIF|JPE?G|PNG))\2/);
	return iUrl ? {imgUrl:  iUrl[3] + iUrl[5], status: "OK"} : {imgUrl: null, status: "ABORT"}
}</searchpattern></host>
It expects pimpandhost URLs to have a path beginning with /image, but the old urls begin with /guest.
This urlpattern could work:
HTML Code:
^https?:\/\/(?:image\.|www\.)?pimpandhost\.com\/(image|guest)\/.+?$
I do not have IHG, so I cannot test it.

Last edited by halvar; May 11th, 2018 at 12:26 PM.. Reason: grammar
halvar is offline   Reply With Quote