Fixed error: AttributeError: NoneType object has no attribute text

examples
- https://nnmm.nl/?uwQrE
- http://puu.sh/7xAMQ.png

it will not print anything on html pages without title tags.