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 general SEO related issues.

Project description

Python SEO Analyzer

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 general SEO related issues.

Requires Python 3.4+, 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:

insead 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-3.1.3.tar.gz (13.8 kB view details)

Uploaded Source

Built Distributions

pyseoanalyzer-3.1.3-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

pyseoanalyzer-3.1.3-py2.py3-none-any.whl (15.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: pyseoanalyzer-3.1.3.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for pyseoanalyzer-3.1.3.tar.gz
Algorithm Hash digest
SHA256 6e5ea4effb723e049a8d7d31a9b9e90673456f88ab8e4b93b21c9fc3f74a9008
MD5 4257d7405a81f010e4bc75641931acce
BLAKE2b-256 27a0903360ec636ad696ff3f9c0ae8395e6b534f4fd8c4166a5d33d0f4f4ce99

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyseoanalyzer-3.1.3-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for pyseoanalyzer-3.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a24b7e3bb56be2cf464c3e06526166876735167ea6cd82b0a5045a3c1677bc38
MD5 6c49717d4689b478592a7654a2316fe1
BLAKE2b-256 e0fff1a3b0c783339bcf52da286490a296533e20822fb8b4982b1b38a32a2e6e

See more details on using hashes here.

File details

Details for the file pyseoanalyzer-3.1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: pyseoanalyzer-3.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for pyseoanalyzer-3.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 935a0fb2d1d490a7c3ec2ed19488785a4c3abeacb2459bf9bada8cfb3fb6712e
MD5 2f3167731281ac24ec9e834baefe777a
BLAKE2b-256 3a84b3ab413238e3ee055a825b564b9ac58145da9cb6085e56f89b83c084133d

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