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

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: noizze-crawler-11.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for noizze-crawler-11.tar.gz
Algorithm Hash digest
SHA256 3cf73d0920ddc0a893ee39770704c8ddc7bbb4cdf7030dfe34fd21b99f32578c
MD5 83d735f71f0aa3cd32e22eeafd4e1d09
BLAKE2b-256 0f2a558afa8775dc3dde6758358fde8575ed72e27fe0ae0e3d337a11d147ded9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: noizze_crawler-11-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for noizze_crawler-11-py3-none-any.whl
Algorithm Hash digest
SHA256 1d1bf69defcb9769d40845678386016d55d500d23dc5bd24d81cc15096ee078c
MD5 4e3ff86d9ecd369dfe5d2cc4db3b5e71
BLAKE2b-256 3501ce2e8d01aa48712045bca86f7555d7498a00c5cdabf3ea38f33a105e3ebf

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