Skip to content

Commit

Permalink
set user-agent for downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaits committed Dec 19, 2023
1 parent 0cefe52 commit 0214625
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def generate_csv():

in_df = pd.read_csv(CSV_URL,
na_values="ND",
storage_options={"User-Agent": "Mozilla/5.0"})
storage_options={"User-Agent": "Python-Pandas"})

out_df["date"] = in_df["Series Description"][header_rows:]
for maturity in MATURITIES:
Expand Down

0 comments on commit 0214625

Please sign in to comment.