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-6.tar.gz
(2.4 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-6.tar.gz.
File metadata
- Download URL: noizze-crawler-6.tar.gz
- Upload date:
- Size: 2.4 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 |
fdea4e802d7a65ad9c4c24e3cb5cab1a72eef77e4a718077df5b69e5a0381e00
|
|
| MD5 |
3cebfd0c86a619e8b924d331afd60b14
|
|
| BLAKE2b-256 |
bb7e780638fea757aa4b06842d5f0ef68d7d6e7b9f3599726c5f98972dcaf1e0
|
File details
Details for the file noizze_crawler-6-py3-none-any.whl.
File metadata
- Download URL: noizze_crawler-6-py3-none-any.whl
- Upload date:
- Size: 2.7 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 |
c1a74af59d8324b56874eaa59fb164dcb194553a0f6b049091ef00c7683d32d6
|
|
| MD5 |
e1ad0d728ac01749ac997dba17a29b17
|
|
| BLAKE2b-256 |
b196c1a5cbd598b1dea2e744d7b87c232e6414759c4babc89e65dea2a6321d3e
|