Files
tilde-projects/Code/irc/util/textcaptcha.py
T
2019-01-29 10:04:31 -05:00

12 lines
200 B
Python

#!/usr/bin/python3
import hashlib
import json
import requests
url = "http://api.textcaptcha.com/krowbar@tilde.town.json"
def get_captcha():
return json.loads(requests.get(url).content.decode())