Last active
April 4, 2022 07:31
-
-
Save pointofpresence/8ee7e571e812768daad8a8286a15040a to your computer and use it in GitHub Desktop.
Created with Copy to Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bs4 import BeautifulSoup | |
soup = BeautifulSoup(response.text, 'lxml') | |
csrf_token = soup.select_one('meta[name="csrf-token"]')['content'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment