I can't understand how to get phone number from html by regex. I check my regex here, it works and must get the number from this link
I try to parse like that:
import requests
import re
url = 'https://a101.ru'
r = requests.get(url)
html = r.text
result = re.findall('((8|\+7)[\- ]?)?(\(?\d{3}\)?[\- ]?)?[\d\- ]{7,10}', html)
print(result)
And get this:
[(u'', u'', u''), (u'', u'', u'').....(u'+7 ', u'+7', u'(495) ')....(u'', u'', u'')]