Python website info api using meta data
Project description
WebGet (Python)
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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file webget-1.0-py2.py3-none-any.whl.
File metadata
- Download URL: webget-1.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20607073ba572028e28bc22642f95271eb483f2fa92a50bfddcd4a7456c9261c
|
|
| MD5 |
8f4339c2aa8e0da142b2860aba07df13
|
|
| BLAKE2b-256 |
a9ad37562814bfcc897dc7f85f49efc9bb78e56afa86e45b26b00a7d5f6dfd19
|