Skip to main content

Utility to crawl web site looking for key words

Project description

analyze_site is a python application to crawl a site and return a count of the keywords, provided in a file, found in the web pages of the site. The application will also return counts of the most used verb, nouns, adverbs and adjectives.

analyze_site requires Python version 3 and the following libraries:

  • nltk - Natural Language Toolkit with maxent_treebank_pos_tagger

usage: analyze_site.py [-h] [-d DEPTH] [-r PATH_REGEX] [–verbose]

keywords_file url

positional arguments:

keywords_file Path to keywords file url URL to crawl

optional arguments:
-h, --help

show this help message and exit

-d DEPTH, --depth DEPTH

Depth to crawl

-r PATH_REGEX, --path_regex PATH_REGEX

Regular expression to match URL

--verbose

Increase logging level

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

analyze_site-0.1.3.tar.gz (4.7 kB view details)

Uploaded Source

File details

Details for the file analyze_site-0.1.3.tar.gz.

File metadata

File hashes

Hashes for analyze_site-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7f7a942feada7dcb81494e538f6d8946c78f4dac9286b89b73aef64882ccc244
MD5 de1c690a12fa09d65c344d35051bcf6a
BLAKE2b-256 61f5df251f0e6bd25b7ee51aa628edf47589d2905ee3408c12aa3a52b3cf53d1

See more details on using hashes here.

Supported by

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