In [10]:
# importing dependencies
import default, test, helper, checks.technical

In [11]:
# properties for the evaluation
url_to_check = 'http://vgregion.se'
skip_pages_older_than = '2017-02-17T06:19:00+01:00' # content without timestamps is included no matter this setting
limit_pages = 10 # the number of URLs to check
type_of_check = 'googlePageSpeed' 
# checks available: httpStatusCodeCheck, sitemapCheck, urlHarvest, googlePageSpeed, mobileFriendlyCheck, contentCheck, findString

In [12]:
#method = 'oneOffFromSitemap' # oneOffFromSitemap is currently the only method, for now
url_to_sitemap = url_to_check + '/sitemap.xml'
default.oneOffFromSitemap(url_to_sitemap, limit_pages, skip_pages_older_than, type_of_check, type_of_check)


Found 1515 URLs in the sitemap you provided.
1. Checking content of URL 'http://www.vgregion.se/halsa-och-vard/vardgivarwebben/it/it-system/obstetrix/support/'.
2. Checking content of URL 'http://www.vgregion.se/halsa-och-vard/vardgivarwebben/it/it-system/obstetrix/'.
3. Checking content of URL 'http://www.vgregion.se/jobba-i-vgr/utbildning-och-kompetens/fortbildning-for-specialistlakare/psykiatri/'.
4. Checking content of URL 'http://www.vgregion.se/ov/ISM/natverk-for-di-som-arbetar-med-stress/aktuellt-i-natverket/natverkstraff-27-februari/'.
5. Checking content of URL 'http://www.vgregion.se/ov/ISM/stress--rad-och-behandling/Nyheter_Stress_rad_och_behandling/natverkstraff-27-februari/'.
6. Checking content of URL 'http://www.vgregion.se/halsa-och-vard/vardgivarwebben/utveckling--uppfoljning/utbildning/webbutbildningar/triangelrevision/aktuellt/'.
7. Checking content of URL 'http://www.vgregion.se/regional-utveckling/verksamhetsomraden/externa-relationer/VastraGotalandiEU/eu-program/utlysningar/vastsveriges-regionala-strukturfondsprogram/'.
8. Checking content of URL 'http://www.vgregion.se/s/skaraborgs-sjukhus/utbildning/at-utbildning/utbildningar-och-kurser/'.
9. Checking content of URL 'http://www.vgregion.se/s/skaraborgs-sjukhus/utbildning/at-utbildning/utbildningar-och-kurser/torsdagsforelasningar-skovde/'.
10. Checking content of URL 'http://www.vgregion.se/s/skaraborgs-sjukhus/utbildning/at-utbildning/at-lunch/'.
Report written to disk at rapporter/2017-12-11_contentCheck_24b23.csv

In [ ]: