Scrapeninja suddently not working (RuntimeError 200)

Hi,

I have a scenario where I send an url to telegram (as trigger) and I scrape the webpage to get the content. The code is intended to get all “p” tags.
Until yesterday it was working good. Now the scenario fails and I get a RuntimeError [200].
I have no idea what is happening.

If I check my quota usage on scrapeninja I am at 32% so no problem on that side.

If I test the code on ScrapeNinja Live Sandbox it looks like I don’t get any error.
Url to test: Manipulating Memory: Rewriting School History Books - EUvsDisinfo
Extract code:

function extract(input, cheerio) {
let $ = cheerio.load(input);
return {
text:$('p').text()
};
}

Can someone help me please?

Hi @Pamela1

Please check the error using the Dev tool to identify the issue with the call. If everything appears to be perfect, please raise a ticket for the issue.

If you require additional assistance, please don’t hesitate to reach out to us.
MSquare Support
Visit us here
Youtube Channel

2 Likes

That’s what happens when websites implement anti-scrape measures.

You can easily bypass this by switching to the more powerful ScrapeNinja module “Scrape (Real Browser)”.

2 Likes

Thank you so much, it works now !!

2 Likes