Skip to content

Commit

Permalink
Temporarily add a functional Bank HaPoalim cookie
Browse files Browse the repository at this point in the history
See #166
  • Loading branch information
jond01 committed Feb 13, 2024
1 parent a8b4eae commit fc5b361
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion xil/poalim.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ def get_df(t: datetime | None = None, filter_cols: bool = True) -> pd.DataFrame:
# import calendar, calendar.SATURDAY or calendar.SUNDAY
t = datetime.now(IL_TZ)

df = pd.read_json(_get_url(t))
df = pd.read_json(
_get_url(t),
storage_options={
"Cookie": "incap_ses_264_2405640=5i/AYDg3iC0V2T/Ie+upAzTcx2UAAAAAc0NmVMh9qbUppfAB23nspg==;"
},
)
if not filter_cols:
return df

Expand Down

0 comments on commit fc5b361

Please sign in to comment.