Last active
April 3, 2024 14:55
-
-
Save SRGDamia1/d5bf4b651756a19a6df1a653b9493a6e to your computer and use it in GitHub Desktop.
@SRGDamia1 recently translated this from python to R. Sara, would you mind sharing the R version?
The R version is here: https://gist.github.com/SRGDamia1/b81cd951be8086386f53d1419e5d7058
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had to change to
csfr_token = login_get_cookies["csrftoken"]
to 'xsrf_token = login_get_cookies["XSRF-TOKEN"]
to access the token in the RequestsCookieJar.