Skip to content

Commit

Permalink
Update test_websites.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziosalmi authored Sep 4, 2023
1 parent ef2c3c5 commit 0539be2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test_websites.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@
# List of websites to test
websites = [
'https://audiolibri.org',
'https://get.domainsblacklists.com',
'https://review.domainsblacklists.com',
'https://mp3.freeundergroundtekno.org'
'https://get.domainsblacklists.com'
]

# Initialize Markdown report with table header
report_md = "# Websites\n## PageSpeed performances report\n| Site | Score |\n|------|-------|\n"
report_md = "# Websites\n## PageSpeed report\n| Site | Score |\n|------|-------|\n"

for website in websites:
# PageSpeed API
Expand All @@ -27,4 +25,3 @@
# Save report to a Markdown file
with open("README.md", "w") as f:
f.write(report_md)

0 comments on commit 0539be2

Please sign in to comment.