Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
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.
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.
pip3 install pyseoanalyzer
docker run sethblack/python-seo-analyzer [ARGS ...]
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
The analyze
function returns a dictionary with the results of the crawl.
from seoanalyzer import analyze
output = analyze(site, sitemap)
print(output)
In order to analyze heading tags (h1-h6) and other extra additional tags as well, the following options can be passed to the analyze
function
from seoanalyzer import analyze
output = analyze(site, sitemap, analyze_headings=True, analyze_extra_tags=True)
print(output)
By default, the analyze
function analyzes all the existing inner links as well, which might be time consuming.
This default behaviour can be changed to analyze only the provided URL by passing the following option to the analyze
function
from seoanalyzer import analyze
output = analyze(site, sitemap, follow_links=False)
print(output)
Alternatively, you can run the analysis as a script from the seoanalyzer folder.
python -m seoanalyzer https://www.sethserver.com/ -f html > results.html
If you get requests.exceptions.SSLError
at either the command-line or via the python-API, try using:
instead of..
FAQs
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.
We found that pyseoanalyzer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.