[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

ImageHose Grabber addon

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 7
Thread images: 2

File: imagehost_grabber-500x240.png (61KB, 500x240px) Image search: [Google]
imagehost_grabber-500x240.png
61KB, 500x240px
Hi
I need your help /g/

I installed PaleMoon + addon imagehost grabber to download images from different image host. Its pretty practical for bulk downloads but its not supporting imagefap though.

Would you please tell me what to modify in the host file editor to fix it?

Actual Host File Editor:

URL pattern:
^http:\/\/(www\.|beta\.|admin\.)?imagefap\.com\/image\.php\?id=\d+&.+

Search Pattern:
function(pageData, pageUrl) {
var retVal = new Object();

if (pageData.match("I am over 18"))
{
alert("Please go manually verify with imagefap, making sure not to clear the cookies.");
retVal.imgUrl = null;
retVal.status = "ABORT";
return retVal;
}

// this lD is some value in the imagefap source page that is coded in some fashion or another
// this value is responsible for telling us where the image is located
var lD = pageData.match(/return lD\(('|")(.+)\1\);/);
if (lD) {
lD = lD[2];

// The following four lines comes from the imagefap source page (it's escaped, so you wouldn't
// be able to find it by merely skimming through it)
var s1=unescape(lD.substr(0,lD.length-1));
var t='';
for (var i=0;i<s1.length;i++) t+=String.fromCharCode(s1.charCodeAt(i)-lD.substr(lD.length-1,1));
var the_url = unescape(t);
}
else {
var the_url = pageData.match(/<img id="mainPhoto".+?src="(.+?)"/);
if (the_url) the_url = the_url[1];
}

if(the_url) {
if ( !(the_url.match(/\..{3,4}$/)) ) the_url = the_url + ".jpg";
retVal.imgUrl = the_url;
retVal.status = "OK";

retVal.fileName = pageData.match(/<img id="mainPhoto".+?alt="[^-]+-\s+(.+?)"/);
if (retVal.fileName) retVal.fileName = retVal.fileName[1];
}
else {
retVal.imgUrl = null;
retVal.status = "ABORT";
}

return retVal;
}


THANKS A LOT
>>
>>57323324
Use Down Them All (install both bellow addons)

https://addons.mozilla.org/en-US/firefox/addon/downthemall/
https://addons.mozilla.org/en-US/firefox/addon/downthemall-anticontainer/

Works fine on ImageFap, though use the "One page" layout and you may want to select all images (click+drag) if you wncounter unwanted downloads. They sould be automatically selected on the left tab (Links) not the right one.
>>
>>57323373
Thanks but its not incompatible with palemoon.

I just need to get IMG fixed cause I've been using it for years but sadly it was dropped by its author.

/g/ could save it.
>>
Gallery:
http://www.imagefap.com/pictures/6450508/Jada-Stevens-31?gid=6450508&view=2#

Image:
http://www.imagefap.com/photo/2031647930/?pgid=&gid=6450508&page=0&idx=0

Whats should I modify please?
>>
File: webm.webm (2MB, 1036x688px) Image search: [Google]
webm.webm
2MB, 1036x688px
>>57323416
Not even older versions?

https://addons.mozilla.org/en-US/firefox/addon/downthemall/versions/
https://addons.mozilla.org/en-US/firefox/addon/downthemall-anticontainer/versions/

I remember I was using it with PM like a year ago.
>>
>>57323528
Thanks I'll give it a go.

But I need to fix IMG tho.
>>
++bump
Thread posts: 7
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.