I've been doing leetcode, so I wrote some Rust to make fetching the problem description a bit easier, using their GraphQL after capturing some requests as curl
commands:
❯ curl https://leetcode.com/problems/contains-duplicate -vL -o/dev/null 2>&1 \
| rg 'set-cookie: csrftoken=([^ ]+);' -or '$1'
AdasXUlUAP5wuVhq9qcTs6LYBZsk4IxKzdThaqsHcQIUR8JnReF1f4jTSJ7k8MAL
❯ curl 'https://leetcode.com/graphql' -X POST \