Closed dentarg closed 8 years ago
https://github.com/mozilla/bleach
>>> import bleach
>>> from bs4 import BeautifulSoup
>>> print BeautifulSoup(bleach.linkify('foo <a href="http://www.räksmörgås.se/">macka</a> bar'), "html5lib").find("a").attrs['href']
http://www.räksmörgås.se/
>>> print BeautifulSoup(bleach.linkify('foo <a href="http://www.räksmörgås.se/">macka</a> bar'), "html5lib").find("a").get_text()
macka
01:53:24 <..... dentarg> (https://easyengine.io/tutorials/linux/ubuntu-postfix-gmail-smtp/)
01:53:27 <.... rufwebot> Page not found - EasyEngine
:/
but
$ dotenv python offline_tester.py
> (https://easyengine.io/tutorials/linux/ubuntu-postfix-gmail-smtp/)
telling #testchannel: Configure Postfix to Use Gmail SMTP on Ubuntu - EasyEngine
server did not have the code somehow
testing http://www.google.com/foo/bar?
Testing GitHub
as picture: