A web page crawler which returns (title, og:image, og:description).
Project description
NOIZZE Crawler
A web page crawler PyPI Package which returns (title(og, head), image(og, meta), description(og, meta)).
Dependency
- BeautifulSoup4
Installation
Run the folowing to install:
pip install noizze-crawler
Usage
import noizze_crawler as nc
import sys
if __name__ == '__main__':
url = 'https://dvdprime.com/g2/bbs/board.php?bo_table=comm&wr_id=20525678'
try:
(title, desc, image_url, html) = nc.crawler(url)
except nc.HostNotFound as e:
print("Host Not Found")
sys.exit(1)
except nc.HTTPError as e:
print("HTTP {}".format(e))
sys.exit(1)
print(title, desc, image_url) # html
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
noizze-crawler-8.tar.gz
(2.5 kB
view details)
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 noizze-crawler-8.tar.gz.
File metadata
- Download URL: noizze-crawler-8.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0657dbd6426ea70134ff1eda18017254129d47d3de3d6d70c131868c30a1b3ca
|
|
| MD5 |
973484db400ce96917391c3e98c5bf61
|
|
| BLAKE2b-256 |
00f9cec4d1cbb03812fad262d2136460eed8722d53101c04ca4abeda0ace7546
|
File details
Details for the file noizze_crawler-8-py3-none-any.whl.
File metadata
- Download URL: noizze_crawler-8-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79069359a05e6409d3ff6531d18da9a9211b0dbce14ae4fbcb1bce83515b66b3
|
|
| MD5 |
9428c941dc34830c4f1f26a283ee3c60
|
|
| BLAKE2b-256 |
3a7fd852cddeeceee8b6f5efbb61c020afc696c49cc86334eb79dafce2b3c723
|