BochilTeam / scraper

scraper module
GNU General Public License v3.0
99 stars 62 forks source link

Error: Cannot find execute code #84

Closed jacktheboss220 closed 1 month ago

jacktheboss220 commented 1 year ago

/js-response/(function(){ function del(){while(document.body.firstChild){document.body.removeChild(document.body.firstChild);}};

if(window.location.hostname.search(/(?:^|.|@)(savefrom.net|sfrom.net|ssyoutube.com)$/i) == -1) { alert('Please go to http://savefrom.net/ to get direct links'); del(); return; } function showResult(){ var success = false; try { var d = window.parent.document; if(d && d.getElementById) { var e = d.getElementById('sf_result'); if(e && e.innerHTML) { window.parent.sf.finishRequest(true);; e.innerHTML = ''; window.parent.sf.result.showEmptyResult({"html":"Something went wrong. Please try to reload the page or use another browser.","invalid_request":true,"resource":"","success":false,"source_url":"https://www.instagram.com/p/CvFbwPqRxd3"},false,true,false);; window.parent.sf.enableElement('sf_submit', true); success=true; } } } catch(err){} del(); if(!success) { var alt = ''; if(alt) alert(alt); } } showResult(); })();/js-response/

its not working. please take a look,

url- https://www.instagram.com/p/CvFbwPqRxd3

noxzym commented 1 year ago

I believe that we need to put ts, _ts, and _s into the request body right now but how to get the data? image

jacktheboss220 commented 1 year ago

any fix?

jacktheboss220 commented 1 year ago

please update in npm package

BochilGaming commented 1 month ago

Try to use @bochilteam/scraper 5.0.1 version