Skip to main content

A web page crawler which returns (title, og:image, og:description).

Project description

Latest Version PEP8

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-9.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

noizze_crawler-9-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file noizze-crawler-9.tar.gz.

File metadata

  • Download URL: noizze-crawler-9.tar.gz
  • Upload date:
  • Size: 3.0 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

Hashes for noizze-crawler-9.tar.gz
Algorithm Hash digest
SHA256 f5f5b516adc6d292389594a4156bb0e6562089bf943a4bcb73b43275e8a11bed
MD5 3734455b954809f4ffc684da368cafa7
BLAKE2b-256 6d4c680cf7c36cd0d24cbc286f9a76c7ddcc2f22427dffcb9e9c3909d634fbbc

See more details on using hashes here.

File details

Details for the file noizze_crawler-9-py3-none-any.whl.

File metadata

  • Download URL: noizze_crawler-9-py3-none-any.whl
  • Upload date:
  • Size: 4.1 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

Hashes for noizze_crawler-9-py3-none-any.whl
Algorithm Hash digest
SHA256 bd7f609662487dba2e0a4af37fc403af0707ddd329c755292b91011847cbe9ce
MD5 6e2af8b3eaeb21668eabe3838357c8ce
BLAKE2b-256 61c7ba94183145abbf2513e11f4af4ef708bd4e68c3100b5980c6b113caf48b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page