-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't scrape more than one year's worth of data #894
Comments
I think it should be defined like this only for websites that disallow fetching more than one year before. |
I figured the history limit for Beinleumi and Max and created PRs. Hopefully others can do the same for the rest :) |
I see #895 and #896 were approved, but I don't have permissions to merge. @baruchiro could you please merge theme as well? 🙏 |
I'm waiting a while to give others a chance to review. |
Ah I see. No problem! |
I'm trying to scrape all available data from my financial accounts. However, when I set a start date for more than one year ago, it gets overwritten with a date that is about one year ago from today.
Looking at the code, this seems to be the root cause:
israeli-bank-scrapers/src/scrapers/base-beinleumi-group.ts
Lines 343 to 345 in 26837de
I noticed that this logic exists in most (all?) scrapers.
Testing Beinleumi and Max without this, i.e. with the following diff, seems to work perfectly fine:
Is there a reason for this limitation? Can it be removed?
The text was updated successfully, but these errors were encountered: