Skip to main content

A function to get a website title

Project description

This is a function to get a website title.

usage:

Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AM
D64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import getwebtitle
>>> getwebtitle.get_title('https://www.baidu.com')
'百度一下,你就知道'
>>> getwebtitle.get_title('https://www.weibo.com')
'Sina Visitor System'
>>> getwebtitle.get_title('https://news.sina.com.cn/')
'新闻中心首页_新浪网'
>>>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for getwebtitle, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size getwebtitle-0.0.4.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page