Closed daniel-hauser closed 2 years ago
Happens to me too.
Interestingly, when I run the scrapper from local (Israel) machine it works, but when i run it from a cloud (Germany) it returns the error you posted.
PS: read on myFinanda facebook page that isracard had changes within the site, but i did not found any myself.
Anyone found a fix?
Thanks.
I have the same issue. Started to fail on 27/4
Same here
I confirmed that @shaharkazaz's fix is working for me when adding this code to the script above
await page.setRequestInterception(true);
page.on("request", (request) => {
if (request.url().endsWith("detector-dom.min.js")) {
request.abort();
} else {
request.continue();
}
});
@daniel-hauser can you elaborate how did you apply the fix? Thanks
@daniel-hauser can you elaborate how did you apply the fix? Thanks
I didn't yet check the scraper, I only tested with the docker image of the minimal repro.
Later, after verifying that the scraper works, I will use patch-package until the fix will be merged.
@daniel-hauser , I also use patch-package to fix things temporarily, it is an handy tool.
I created a new PR #683 handling specifically the Isracard issue instead of merging #681, you can see reasons here on https://github.com/eshaham/israeli-bank-scrapers/pull/681#issuecomment-1114175029
We will probably continue with the original PR #681 to upgrade dependencies of node.js and puppeteer.
:tada: This issue has been resolved in version 1.13.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 1.13.4 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Starting today, the isracard scraper stopped working for me with this error:
Seems like for some reason the isracard website is not loading inside of puppeteer, resulting in a timeout.
This issue is not related to the israeli-bank-scrapers code, but I am opening it to see if anyone else has the same error or knows how to solve it
Miniman repro
With the
index.js
andDockerfile
files, run:index.js
Dockerfile