Skip to content

datCloud/PyValidator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyValidator Licensed under the MIT License

Python website validator. Checks W3C, PageSpeed, SEO, Mobile, etc

Prerequisites

Install Python 3.7.4+

Python packages

  • On your command prompt, run the following commands:
pip install selenium
pip install requests_html
pip install colorama
pip install tqdm
pip install webdriver_manager
pip install pyfiglet

Install Mozilla Firefox

This tool uses Mozilla Firefox browser with Selenium for Mobile validation

Download the latest version of Mozilla Firefox

GH_TOKEN

The PyValidator uses webdriver_manager to get the latest version of Geckodriver via GitHub API.

In order for it to be downloaded properly, on your first run, the PyValidator will request the GH_TOKEN.

To generate the token follow Creating a fine-grained personal access token instructions on GitHub Docs.

Just copy and paste it into the command prompt.

Basic usage

Run the pyvalidator.py script on your command prompt and paste the url of the website you want to validate There are several options to validate and you may enter them as arguments after the url:

  • -w W3C issues (Powered by w3c.org)
  • -s SEO structure for Alt and Title attributes
  • -m Check MPI model and validade all MPIs
  • -l Check lateral scroll on mobile
  • -x Use sitemap.xml to get site links (crawls faster)
  • -p Pagespeed score for the home page
  • -u Search for links that aren't in the menu
  • -c Compare top and footer menus (Old websites)
  • -a Check all errors

If you have any issue, please let me know 😉

About

Python website validator. Checks W3C, PageSpeed, SEO, Mobile, etc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages