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.

Source Distribution

getwebtitle-0.0.4.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file getwebtitle-0.0.4.tar.gz.

File metadata

  • Download URL: getwebtitle-0.0.4.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.5.2

File hashes

Hashes for getwebtitle-0.0.4.tar.gz
Algorithm Hash digest
SHA256 ad1f5560466b24dc5803409165f04c0453c19039efcc38ff531cb8b8df0bc8a9
MD5 36439264ad3e1cf7a1db71b66fbc5057
BLAKE2b-256 be8e606fd512231b4ba68c459030eeeb54ca449855fe1437ef2088ccff834181

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page