Skip to content

nepsho/pyWebget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGet (Python)

image

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, [email protected]', 
	'designer': 'bcrazydreamer', 
	'reply-to': '[email protected]', 
	'url': 'https://nepsho.github.io', 
	'category': 'Web', 
	'site_name': 'webget', 
	'email': '[email protected]', 
	'country-name': 'INDIA', 
	'phone_numbe': '123-456-7890'
}

licence

MIT licence

Author

@BCrazyDreamer

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages