Skip to content

Instantly share code, notes, and snippets.

@lst15
Created April 10, 2018 14:24
Show Gist options
  • Select an option

  • Save lst15/830f25b598108a24d713ffa641e47f4e to your computer and use it in GitHub Desktop.

Select an option

Save lst15/830f25b598108a24d713ffa641e47f4e to your computer and use it in GitHub Desktop.
selected.token.filtered.python
def getFormKey(sourceFont):
m = re.search(r'"acsrfToken" value="(.*)"',sourceFont)
form_key = m.group(1)
return form_key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment