Skip to main content

An SEO tool that analyzes the structure of a site, crawls the site, count words in the body of the site and warns of any technical SEO issues.

Project description

Python SEO Analyzer

Googling Google by taleas.com

An SEO tool that analyzes the structure of a site, crawls the site, counts words in the body of the site and warns of any technical SEO issues.

Requires Python 3.6+, BeautifulSoup4 and urllib3.

Installation

PIP

pip3 install pyseoanalyzer

Command-line Usage

If you run without a sitemap it will start crawling at the homepage.

seoanalyze http://www.domain.com/

Or you can specify the path to a sitmap to seed the urls to scan list.

seoanalyze http://www.domain.com/ --sitemap path/to/sitemap.xml

HTML output can be generated from the analysis instead of json.

seoanalyze http://www.domain.com/ --output-format html

API

The analyze function returns a dictionary with the results of the crawl.

from seoanalyzer import analyze

output = analyze(site, sitemap)

print(output)

Alternatively, you can run the analysis as a script from the seoanalyzer folder.

python analyzer.py https://www.sethserver.com/ -f html > results.html

Notes

If you get requests.exceptions.SSLError at either the command-line or via the python-API, try using:

instead of..

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

pyseoanalyzer-4.0.1.tar.gz (15.0 kB view details)

Uploaded Source

Built Distributions

pyseoanalyzer-4.0.1-py3.7.egg (35.5 kB view details)

Uploaded Source

pyseoanalyzer-4.0.1-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file pyseoanalyzer-4.0.1.tar.gz.

File metadata

  • Download URL: pyseoanalyzer-4.0.1.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.4

File hashes

Hashes for pyseoanalyzer-4.0.1.tar.gz
Algorithm Hash digest
SHA256 52325f5c56e9927734dcc087e9bb491e4ff6c67fd31a67dee685bea50738bac4
MD5 64519a17d141b30e3ac7930cb6991b14
BLAKE2b-256 97931b98b15339daa2080e464ab3d61f88f8c3180baa590b896351e01065533a

See more details on using hashes here.

File details

Details for the file pyseoanalyzer-4.0.1-py3.7.egg.

File metadata

  • Download URL: pyseoanalyzer-4.0.1-py3.7.egg
  • Upload date:
  • Size: 35.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.4

File hashes

Hashes for pyseoanalyzer-4.0.1-py3.7.egg
Algorithm Hash digest
SHA256 2dae0af01288ab1a323e2e1ad67287552a508ee8a3023091be3ad0fe6b416581
MD5 0c85f609ae2350512bc41ada4089b0f2
BLAKE2b-256 5fb37e99ccd9e64e0f8570b38fd16e1f00b2f3acdeebaa2307eccca7bfa7269f

See more details on using hashes here.

File details

Details for the file pyseoanalyzer-4.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyseoanalyzer-4.0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.4

File hashes

Hashes for pyseoanalyzer-4.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 47a94e6114e04b5ea5a95484d47717103c154c9a48be951efc19b53db1e5c39d
MD5 839150cfef9f6482b064503efba406ac
BLAKE2b-256 63e61a006fd13a668339d2bce2b7471f5dcfaede62587d261a9a71d51f074eb3

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