Код: Выделить всё
import requests, re
r = requests.get('example.com')
p = re.compile('\d')
print(p.match(str(r.text)))
Подробнее здесь: https://stackoverflow.com/questions/790 ... d-requests
Код: Выделить всё
import requests, re
r = requests.get('example.com')
p = re.compile('\d')
print(p.match(str(r.text)))