Skip to content

Instantly share code, notes, and snippets.

@SRGDamia1
Last active April 3, 2024 14:55
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save SRGDamia1/d5bf4b651756a19a6df1a653b9493a6e to your computer and use it in GitHub Desktop.
Save SRGDamia1/d5bf4b651756a19a6df1a653b9493a6e to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@joshuajdthompson
Copy link

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.

@ScottEnsign
Copy link

@SRGDamia1 recently translated this from python to R. Sara, would you mind sharing the R version?

@SRGDamia1
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment