Tags: requests
Rating:
```
import requests
import re
t = "http://timesink.be/speedy"
s = requests.Session()
print(f"Requesting {t}...")
req = s.get(t)
p = re.compile('<div id="rndstring" align="center">(\w*)</div>')
random_str = p.search(req.text).group(1)
print(f"Got randomstring: {random_str}")
print(f"Posting...")
r2 = s.post("http://timesink.be/speedy/index.php", data={"inputfield": random_str})
print(r2.text)
```
https://md.darknebu.la/4cDzvoArTDCD-hpjSmVTwQ?view#Fast-Enough