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
ChangeLog
- v11: Fixed bugs #3 #8
- v10: Fixed bugs
- v9: Youtube crawler with Google API #4
- v8: Changed PyPI dependency - bs4
- v7: PEP8 passed codes
- v6: HostNotFound, HTTPError exceptions
Metadata
Release files for noizze-crawler 12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| noizze-crawler-12.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| noizze_crawler-12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / noizze-crawler-12.tar.gz
| Download URL | noizze-crawler-12.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a8d6b21f1bb8c21845e4fab7cb0d75cc07ec84a6b15c3313ed7275fefddc79e
|
|
BLAKE2b-256 checksum How to use checksums |
736f64cc5f68dcb2f477832a8a4c9c447e485f86e50b00b24d71c1f7a1415449
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.4.4
|
Release files / noizze_crawler-12-py3-none-any.whl
| Download URL | noizze_crawler-12-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80e11eac50eb70a4b0e2cae6ea2ce2fca0fbeed87086c3ebe837cf1b68c12dd7
|
|
BLAKE2b-256 checksum How to use checksums |
4ea9b60f700b4e12adf0e21c67a7fd1e2ee4bd3511744ceb51ea4f9bd1fdab91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.4.4
|