Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for noizze-crawler, version 12
Filename, size File type Python version Upload date Hashes
Filename, size noizze_crawler-12-py3-none-any.whl (4.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size noizze-crawler-12.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page