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-7.tar.gz (2.5 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-7-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: noizze-crawler-7.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

Hashes for noizze-crawler-7.tar.gz
Algorithm Hash digest
SHA256 412c6fa65ac841a911d1879f3dd551228d6de5473571e2b5154d7505aa58f4d5
MD5 600e1539bf7a1653ad1e26006eb3e0b6
BLAKE2b-256 e85e898ef9e5283744ca086f0d1221a8b1a906badff645dcba77095b23efe715

See more details on using hashes here.

File details

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

File metadata

  • Download URL: noizze_crawler-7-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

Hashes for noizze_crawler-7-py3-none-any.whl
Algorithm Hash digest
SHA256 0e458dafbd78a4c53b89d153fedc1a10ee708052a97922724d391cf83028bc50
MD5 7577537d87a02411c1827de92a0064bd
BLAKE2b-256 5e847fec28f7ce5239e35c790aac640e1ddd81b8057dc7a878fe83ef2d601633

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