Skip to content

behind24proxies/website_stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

website_report

generate website reports

Build Status Build Status Build Status

website_report is a simple library that allows you to generate website reports in less than 60 seconds , by scraping data from insites.com

  • only 10 requests/ip are allowed
  • you will have to use proxies
  • only 60 seconds to generate a report

Requirements

pip install html_to_json

Installation

pip install website_report

Usage

from website_report import generate_report 
generate_report('https://www.dafk.net/what/')

Optional Parameters

generate_report(website_url,
             step=5, # time between requests
             max_time=60,# maximum wait time 
             debug=False,# debug option, it prints out some extra information on each iteration
             info=True) # this option is useful only if the website does not exist/ is offline 

Output example

[{'name': 'Overall', 'rating': 'good', 'value': '6.7'}, {'name': 'Accessibility', 'rating': 'better', 'value': '8.3'}, {'name': 'Experience', 'rating': 'good', 'value': '5.2'}, {'name': 'Marketing', 'rating': 'good', 'value': '5.1'}, {'name': 'Technology', 'rating': 'better', 'value': '8.1'}, {'name': 'Twitter', 'value': '0.0'}, {'name': 'Analytics', 'value': '0.0'}, {'name': 'Printability', 'value': '0.0'}, {'name': 'Freshness', 'value': '0.0'}, {'name': 'Meta tags', 'value': '1.0'}, {'name': 'Mobile', 'value': '3.0'}, {'name': 'Popularity', 'value': '5.6'}, {'name': 'Amount of content', 'value': '7.8'}, {'name': 'Server behavior', 'value': '10.0'}, {'name': 'Page titles', 'value': '10.0'}, {'name': 'Headings', 'value': '10.0'}, {'name': 'Incoming links', 'value': '10.0'}, {'name': 'Images', 'value': '10.0'}, {'name': 'Internal links', 'value': '10.0'}, {'name': 'URL format', 'value': '10.0'}, {'name': 'Domain age', 'value': 'i'}]

License

MIT

free stuff , hell yeah !