Skip to main content

Python website info api using meta data

Project description

WebGet (Python)

image image image image image

Python website info getter.

install

pip install webget

import

>>> import webget

Get html of website:

>>> result = webget.getHtml("https://nepsho.github.io/example/meta_tags.html")
{
	'success': True,
	'html': 'Html of website'
}

Get images from website:

>>> result = webget.getImages("https://nepsho.github.io/example/meta_tags.html")
{
	'success': True,
	'images': [ArrayOfImagesOnWebsite]
}

Get meta data of website:

>>> result = webget.getMeta("https://nepsho.github.io/example/meta_tags.html")
{
	'success': True, 
	'logo': 'http://nepsho.github.io/lib/img/logo.png', 
	'description': 'Promise and callback based website-info getter using metadata of websites...', 
	'title': 'webget', 
	'keywords': 'NepSho ,Open source, webget, api, nodejs, python, meta, javascript, programming', 
	'subject': 'Open source', 
	'copyright': 'NepSho', 
	'language': 'en', 
	'robots': 'index,follow', 
	'revised': 'Sunday, May 9th, 2019, 0:00 am', 
	'abstract': 'NepSho abstract', 
	'topic': 'Tech', 
	'summary': 'tech is super', 
	'author': 'BCrazyDreamer, bcrazydreamer@gmail.com', 
	'designer': 'bcrazydreamer', 
	'reply-to': 'bcrazydreamer@gmail.com', 
	'url': 'https://nepsho.github.io', 
	'category': 'Web', 
	'site_name': 'webget', 
	'email': 'bcrazydreamer@gmail.com', 
	'country-name': 'INDIA', 
	'phone_numbe': '123-456-7890'
}

licence

MIT licence

Author

@BCrazyDreamer

Project details


Release history Release notifications

This version

1.0

Download files

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

Files for webget, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size webget-1.0-py2.py3-none-any.whl (6.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page