Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!
vintage erotica forum vintage erotica forum vintage erotica forum
vintage erotica forum
Home
Go Back   Vintage Erotica Forums > Information & Help Forum > Help Section
Best Porn Sites Live Sex Register FAQ Members List Calendar Mark Forums Read

Notices
Help Section If you have technical problems or questions then post or look for answers here.


Reply
 
Thread Tools Display Modes
Old July 17th, 2017, 08:41 PM   #51
beechcott
Member
 
Join Date: Jan 2013
Posts: 64
Thanks: 2,030
Thanked 615 Times in 63 Posts
beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+
Default

Quote:
Originally Posted by andw View Post
an old set-up for hotflick.net which may help retrieve from the current servers...

Host Label: hotflick
URL Pattern: ^http:\/\/www\.hotflick\.net\/u/v\/
Search Pattern: "ID: img"
Before I edit my host file with this information, are there any cons or trade-offs to doing so, or should it provide only improvements?
beechcott is offline   Reply With Quote
The Following 5 Users Say Thank You to beechcott For This Useful Post:
Old July 18th, 2017, 04:58 AM   #52
effCup
Vintage Idiot
 
effCup's Avatar
 
Join Date: Feb 2012
Location: History
Posts: 22,130
Thanks: 226,705
Thanked 356,699 Times in 21,625 Posts
effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+
Default

Quote:
Originally Posted by beechcott View Post
Before I edit my host file with this information, are there any cons or trade-offs to doing so, or should it provide only improvements?
Does anything ever provide only improvements?

a) Keep a copy of anything you're about to replace.
b) Keep a copy of anything you're about to edit in.

Have you tested a) to demonstrate that it's not working?
Have you tested b) to demonstrate that it works/works better?

Testing can be... um, testing, due to the usual requirement for rigour.

Be aware that the next time you auto-update IHG's hostfile from their server it will likely replace most/all manual edits you've made with whatever IHG has decided to support/implement.
effCup is offline   Reply With Quote
The Following 6 Users Say Thank You to effCup For This Useful Post:
Old July 18th, 2017, 07:09 AM   #53
beechcott
Member
 
Join Date: Jan 2013
Posts: 64
Thanks: 2,030
Thanked 615 Times in 63 Posts
beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+
Default

Quote:
Originally Posted by effCup View Post
Does anything ever provide only improvements?

a) Keep a copy of anything you're about to replace.
b) Keep a copy of anything you're about to edit in.

Have you tested a) to demonstrate that it's not working?
Have you tested b) to demonstrate that it works/works better?

Testing can be... um, testing, due to the usual requirement for rigour.

Be aware that the next time you auto-update IHG's hostfile from their server it will likely replace most/all manual edits you've made with whatever IHG has decided to support/implement.
I see.

I tried downloading from hotflick, and ImageHost Grabber said that it didn't find any images that it could download. I then edited the hostfile with the information from anw's post, to no avail. It still can't find any images.

Quote:
Originally Posted by effCup View Post
This worked for me; passed all tests from posts here.

Host Label: pixxxels
URL Pattern: ^https?:\/\/(?:s\d+\.)?pixxxels\.org\/image\/.+$
Search Pattern:
Code:
function(pageData, pageUrl) {
	var iUrl = pageData.match(/src=('|")(https?:\/\/s\d+\.pixxxels\.org\/.+?\.jpg)\1/);
	return iUrl ? {imgUrl: iUrl[2] + "?dl=1", status: "OK"} : {imgUrl: null, status: "ABORT"}
}
I tested it on that thread, and all of the photos in post #5 downloaded as only thumbnails.
beechcott is offline   Reply With Quote
The Following 5 Users Say Thank You to beechcott For This Useful Post:
Old July 18th, 2017, 08:23 AM   #54
berangus
NotTheDroidURLookingFor
 
berangus's Avatar
 
Join Date: Oct 2010
Posts: 6,171
Thanks: 37,031
Thanked 141,085 Times in 6,167 Posts
berangus 500000+berangus 500000+berangus 500000+berangus 500000+berangus 500000+berangus 500000+berangus 500000+berangus 500000+berangus 500000+berangus 500000+berangus 500000+
Default

Quote:
Originally Posted by effCup View Post
No. What you've done there is change it from handling either single or double quotes, to only handling double quotes. The parens. denote a group. Inside it are options, separated by the pipe sign. You're saying: either double-quote or double-quote. It should be left as it was: either single-quote or double-quote.
Interesting because it didn't work for me as written, but then ran fine after I made that change. Dunno anyway thanks all the same for all your updates & expertise.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
berangus is online now   Reply With Quote
The Following 6 Users Say Thank You to berangus For This Useful Post:
Old July 18th, 2017, 11:16 AM   #55
effCup
Vintage Idiot
 
effCup's Avatar
 
Join Date: Feb 2012
Location: History
Posts: 22,130
Thanks: 226,705
Thanked 356,699 Times in 21,625 Posts
effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+
Default

Quote:
Originally Posted by beechcott View Post
I tested it on that thread, and all of the photos in post #5 downloaded as only thumbnails.
Ahh, good spotting.

Try this instead:

Host Label: pixxxels
URL Pattern: ^https?:\/\/(?:s\d+\.)?pixxxels\.org\/image\/.+$
Search Pattern:
Code:
function(pageData, pageUrl) {
	var iUrl = pageData.match(/id=('|")main-image\1 src=('|")(https?:\/\/s\d+\.pixxxels\.org\/.+?\.jpg)\2/);
	return iUrl ? {imgUrl: iUrl[3] + "?dl=1", status: "OK"} : {imgUrl: null, status: "ABORT"}
}
effCup is offline   Reply With Quote
The Following 7 Users Say Thank You to effCup For This Useful Post:
Old July 18th, 2017, 11:46 AM   #56
effCup
Vintage Idiot
 
effCup's Avatar
 
Join Date: Feb 2012
Location: History
Posts: 22,130
Thanks: 226,705
Thanked 356,699 Times in 21,625 Posts
effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+
Default

A slight change to groups in P&H:

Host Label: pimpandhost
URL Pattern: ^https?:\/\/(?:image\.|www\.)?pimpandhost\.com\/image\/.+?$
Search Pattern:
Code:
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"}
}
----

edit: but this seems a much more robust approach, as it avoids messing with image filetypes/dot-suffixes.

Host Label: pimpandhost
URL Pattern: ^https?:\/\/(?:image\.|www\.)?pimpandhost\.com\/image\/.+?$
Search Pattern:
Code:
function(pageData, pageUrl) {
	if (!pageUrl.match(/\?size=original/)) {
		pageUrl += "?size=original";
	}
	var req = new XMLHttpRequest();
	req.open("GET", pageUrl, false);
	req.send();
	var iUrl = (req.responseText).match(/img class=('|")original\1 src=('|")(https?:\/\/.+?)\2/);
	return iUrl ? {imgUrl:  iUrl[3], status: "OK"} : {imgUrl: null, status: "ABORT"}
}
edit2: Hmm, well it worked with some, but not all.

Last edited by effCup; July 18th, 2017 at 02:04 PM.. Reason: but
effCup is offline   Reply With Quote
The Following 6 Users Say Thank You to effCup For This Useful Post:
Old July 18th, 2017, 02:41 PM   #57
effCup
Vintage Idiot
 
effCup's Avatar
 
Join Date: Feb 2012
Location: History
Posts: 22,130
Thanks: 226,705
Thanked 356,699 Times in 21,625 Posts
effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+
Default

OK, this works not only with the new P&H link format but also with the old format, many of which links still remain. Some examples here.

Host Label: pimpandhost
URL Pattern: ^https?:\/\/(?:image\.|www\.)?pimpandhost\.com\/image\/.+?$
Code:
function(pageData, pageUrl) {
	if (pageUrl.match(/-original\.html$/)) {
		pageUrl = pageUrl.match(/https?:\/\/(?:image\.|www\.)?pimpandhost\.com\/image\/\d+/) + "?size=original";
	}
	else if (!pageUrl.match(/\?size=original/)) {
		pageUrl += "?size=original";
	}
	var req = new XMLHttpRequest();
	req.open("GET", pageUrl, false);
	req.send();
	var iUrl = (req.responseText).match(/img class=('|")original\1 src=('|")(https?:\/\/.+?)\2/);
	return iUrl ? {imgUrl:  iUrl[3], status: "OK"} : {imgUrl: null, status: "ABORT"}
}

Last edited by effCup; July 19th, 2017 at 01:16 AM.. Reason: e.g.
effCup is offline   Reply With Quote
The Following 5 Users Say Thank You to effCup For This Useful Post:
Old July 18th, 2017, 04:36 PM   #58
beechcott
Member
 
Join Date: Jan 2013
Posts: 64
Thanks: 2,030
Thanked 615 Times in 63 Posts
beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+beechcott 2500+
Default

Quote:
Originally Posted by effCup View Post
Ahh, good spotting.

Try this instead:

Host Label: pixxxels
URL Pattern: ^https?:\/\/(?:s\d+\.)?pixxxels\.org\/image\/.+$
Search Pattern:
Code:
function(pageData, pageUrl) {
	var iUrl = pageData.match(/id=('|")main-image\1 src=('|")(https?:\/\/s\d+\.pixxxels\.org\/.+?\.jpg)\2/);
	return iUrl ? {imgUrl: iUrl[3] + "?dl=1", status: "OK"} : {imgUrl: null, status: "ABORT"}
}
Thank you. That one worked for all of the images in that thread.

Quote:
Originally Posted by effCup View Post
OK, this works not only with the new P&H link format but also with the old format, many of which links still remain. Some examples here.

Host Label: pimpandhost
URL Pattern: ^https?:\/\/(?:image\.|www\.)?pimpandhost\.com\/image\/.+?$
Code:
function(pageData, pageUrl) {
	if (pageUrl.match(/-original.html/)) {
		pageUrl = pageUrl.match(/https?:\/\/(?:image\.|www\.)?pimpandhost\.com\/image\/\d+/) + "?size=original";
	}
	else if (!pageUrl.match(/\?size=original/)) {
		pageUrl += "?size=original";
	}
	var req = new XMLHttpRequest();
	req.open("GET", pageUrl, false);
	req.send();
	var iUrl = (req.responseText).match(/img class=('|")original\1 src=('|")(https?:\/\/.+?)\2/);
	return iUrl ? {imgUrl:  iUrl[3], status: "OK"} : {imgUrl: null, status: "ABORT"}
}
It's not working for me. I tested it out on the page linked here, and every single PimpandHost link gave the error message "Request aborted! Can't find image on page!"
beechcott is offline   Reply With Quote
The Following 4 Users Say Thank You to beechcott For This Useful Post:
Old July 19th, 2017, 01:22 AM   #59
effCup
Vintage Idiot
 
effCup's Avatar
 
Join Date: Feb 2012
Location: History
Posts: 22,130
Thanks: 226,705
Thanked 356,699 Times in 21,625 Posts
effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+
Default

Quote:
Originally Posted by beechcott View Post
It's not working for me. I tested it out on the page linked here, and every single PimpandHost link gave the error message "Request aborted! Can't find image on page!"
Good testing, thanks. Try this instead:

Host Label: pimpandhost
URL Pattern: ^https?:\/\/(?:image\.|www\.)?pimpandhost\.com\/image\/.+?$
Search Pattern:
Code:
function(pageData, pageUrl) {
	if (pageUrl.match(/-(original|medium)\.html$/)) {
		pageUrl = pageUrl.match(/https?:\/\/(?:image\.|www\.)?pimpandhost\.com\/image\/\d+/) + "?size=original";
	}
	else if (!pageUrl.match(/\?size=original/)) {
		pageUrl += "?size=original";
	}
	var req = new XMLHttpRequest();
	req.open("GET", pageUrl, false);
	req.send();
	var iUrl = (req.responseText).match(/img class=('|")original\1 src=('|")(https?:\/\/.+?)\2/);
	return iUrl ? {imgUrl:  iUrl[3], status: "OK"} : {imgUrl: null, status: "ABORT"}
}
----
The old type of P&H link could be assigned to various views. So far we've got/have found "original" & "medium". I wonder if there were any others, maybe "small" or similar?

Please let me know if you find any further such.
effCup is offline   Reply With Quote
The Following 7 Users Say Thank You to effCup For This Useful Post:
Old July 19th, 2017, 05:13 AM   #60
effCup
Vintage Idiot
 
effCup's Avatar
 
Join Date: Feb 2012
Location: History
Posts: 22,130
Thanks: 226,705
Thanked 356,699 Times in 21,625 Posts
effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+effCup 1000000+
Default

Quote:
Originally Posted by berangus View Post
Interesting because it didn't work for me as written, but then ran fine after I made that change. Dunno anyway thanks all the same for all your updates & expertise.
Would you be kind enough to try it again, using this formulation, as written? If you still get images not downloading please link here some post(s) where that's the case, so I can test.

I don't know why you got the failure. One possibility, but I'm not saying it was the cause, may be that the host was temporarily non-responsive when you tested. That is: the "failure" may have simply looked like such. /shrug/ But I'm open to it being due to something else. Tests here have passed, using the optional single- or double-quote formulation I wrote.
effCup is offline   Reply With Quote
The Following 5 Users Say Thank You to effCup For This Useful Post:
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump




All times are GMT. The time now is 06:53 AM.






vBulletin Optimisation provided by vB Optimise v2.6.1 (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.