• Guest !!! If you do not want to see ads "pop-ups", just register on our forum, registered users do not have a problem with this !!!

imagehost grabber not working with new imagebam

Until they update the host file, you can change the search pattern for imageham with the changes below.

URL Pattern:
^https?:\/\/(?:www\.)?imagebam\.com\/.+\/[^&]+$

Search Pattern:
function(pageData, pageUrl) {
var iUrl = pageData.match(/img.+?src=\"(.+?)\" alt/);
return iUrl ? {imgUrl: iUrl[1], status: "OK"} : {imgUrl: null, status: "ABORT"}
}
 
Until they update the host file, you can change the search pattern for imageham with the changes below.

URL Pattern:
^https?:\/\/(?:www\.)?imagebam\.com\/.+\/[^&]+$

Search Pattern:
function(pageData, pageUrl) {
var iUrl = pageData.match(/img.+?src=\"(.+?)\" alt/);
return iUrl ? {imgUrl: iUrl[1], status: "OK"} : {imgUrl: null, status: "ABORT"}
}
You sir are an absolute legend! I've been trying to figure out this since they updated imagebam. Thanks so much!
 
Until they update the host file, you can change the search pattern for imageham with the changes below.

URL Pattern:
^https?:\/\/(?:www\.)?imagebam\.com\/.+\/[^&]+$

Search Pattern:
function(pageData, pageUrl) {
var iUrl = pageData.match(/img.+?src=\"(.+?)\" alt/);
return iUrl ? {imgUrl: iUrl[1], status: "OK"} : {imgUrl: null, status: "ABORT"}
}
Hi there, this has stopped working for imagebam. Any ideas on the uploaded search pattern? Thanks!
 
That search pattern is still working for me but a proper fix has been posted on the imagehostgrabber website. Maybe that will work better.
https://imagehostgrabber.com/forum/viewtopic.php?f=23&t=721
Hi I can't sign up and the search pattern doesn't work for me try on this gallery https://www.imagebam.com/gallery/mzbcgapgp1wh79duwa0738mbk2jvshfe

I can't access the site because I don't have a login and can't sign up either. Any chance you can post the fix here? thanks!
 
Hi I can't sign up and the search pattern doesn't work for me try on this gallery https://www.imagebam.com/gallery/mzbcgapgp1wh79duwa0738mbk2jvshfe

I can't access the site because I don't have a login and can't sign up either. Any chance you can post the fix here? thanks!
found this on another forum and it worked for me :)

URL Patten:
Code:
^https?:\/\/([^/]+\.)?imagebam\.com\/(image\/[a-f\d]+|view\/[a-z\d]{6})($|\?)

Search Pattern:
Code:
function(pageData, pageUrl) {
   let retVal = {imgUrl: null, fileName: null, status: "ABORT"};
   let iTag, iUrl, iName;
   // Search for <img ... class="main-image ... >
   iTag = (pageData.match(/<img\b[^>]*?\bclass\s*=\s*('|")main-image\b[^>]*?>/i)||[])[0];
   if (iTag) {
       iUrl = (iTag.match(/\bsrc\s*=\s*('|")(.*?)\1/i)||[])[2];
       if (iUrl) {
           retVal.imgUrl = iUrl;
           retVal.status = "OK";
           //
           // Select the type of filename by setting the value of nameType:
           // 0: name on the host
           // 1: image id + "_" + random characters at end
           // 2: "ibam" + image id
           // 3: "ibam" + image id + "_" + random characters at end
           // 4: original file name (from alt attribute)
           // else: name on the host
           const nameType = 4;  // <-- edit this number; default: 4
           //
           if (nameType == 4) iName = (iTag.match(/\balt\s*=\s*('|")(.*?)\1/i)||[])[2];
           else if (nameType > 0) {
               let fnp = iUrl.split('?')[0].split('/').pop().match(/([^/]+?)(\.[^./]+)?$/)||[];
               let bfn = fnp[1]||'';
               let dex = fnp[2]||'';
               // The first 6 characters of the name on the host are random, the rest is the image id.
               let bfnp = bfn.match(/^(.{6})(.*)$/);
               if (nameType == 1) iName = bfnp[2] + "_" + bfnp[1] + dex;
               else if (nameType == 2) iName = "ibam" + bfnp[2] + dex;
               else if (nameType == 3) iName = "ibam" + bfnp[2] + "_" + bfnp[1] + dex;
           }
           if (iName) retVal.fileName = iName;
       }
   }
   return retVal;
}
 
Hi I can't sign up and the search pattern doesn't work for me try on this gallery https://www.imagebam.com/gallery/mzbcgapgp1wh79duwa0738mbk2jvshfe

I can't access the site because I don't have a login and can't sign up either. Any chance you can post the fix here? thanks!

Sorry, I did not think you had to login. The post by opo2001 is the search pattern on their website. I tested your link and it worked fine for me using both methods.
 
Sorry, I did not think you had to login. The post by opo2001 is the search pattern on their website. I tested your link and it worked fine for me using both methods.
It worked thanks very much! has the registration on that site closed? I don't see a sign up option?
 
Anyone now having issues with pixhost.to....? I get the error message saying Request failed too many retries and my retries are only set on 1?
 
Back
Top