()
| 41 | |
| 42 | |
| 43 | def start(): |
| 44 | r = sess.get(url, headers=headers, verify=False) |
| 45 | text = r.text |
| 46 | cookie = re.search('<script>document.cookie=(.*?);location', text).group(1) |
| 47 | x = execjs.eval(cookie).split(';')[0].split('=') |
| 48 | sess.cookies[x[0]] = x[1] |
| 49 | print(x[0], x[1]) |
| 50 | |
| 51 | |
| 52 | def then(): |