rbughao commited on
Commit
26f03e8
·
verified ·
1 Parent(s): f39e549

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -132,7 +132,7 @@ def runchecks(message,history):
132
  for site in websites:
133
  print(f"Checking site speed for {site}...")
134
  speed = check_site_speed(site)
135
- time.sleep(5)
136
  if speed is not None:
137
  print(f"Response time for {site}: {speed} seconds")
138
  results.append([site,speed])
@@ -143,7 +143,7 @@ def runchecks(message,history):
143
  for site in websites:
144
  print(f"Checking site speed for {site}...")
145
  speed = check_mobile_speed(site)
146
- time.sleep(5)
147
  if speed is not None:
148
  print(f"Response time for {site}: {speed} seconds")
149
  results.append([site,speed])
@@ -154,7 +154,7 @@ def runchecks(message,history):
154
  for site in BTsites:
155
  print(f"Checking robots.txt for {site}...")
156
  botsCheck = check_robots(site)
157
- time.sleep(5)
158
  if botsCheck is not None:
159
  print(f"Bots for {site}: {botsCheck} seconds")
160
  results.append([site,botsCheck])
@@ -165,7 +165,7 @@ def runchecks(message,history):
165
  for site in BTsites:
166
  print(f"Checking sitemaps for {site}...")
167
  mapsCheck = check_sitemap(site)
168
- time.sleep(5)
169
  if mapsCheck is not None:
170
  print(f"Bots for {site}: {mapsCheck} seconds")
171
  results.append([site,mapsCheck])
 
132
  for site in websites:
133
  print(f"Checking site speed for {site}...")
134
  speed = check_site_speed(site)
135
+ time.sleep(15)
136
  if speed is not None:
137
  print(f"Response time for {site}: {speed} seconds")
138
  results.append([site,speed])
 
143
  for site in websites:
144
  print(f"Checking site speed for {site}...")
145
  speed = check_mobile_speed(site)
146
+ time.sleep(15)
147
  if speed is not None:
148
  print(f"Response time for {site}: {speed} seconds")
149
  results.append([site,speed])
 
154
  for site in BTsites:
155
  print(f"Checking robots.txt for {site}...")
156
  botsCheck = check_robots(site)
157
+ time.sleep(15)
158
  if botsCheck is not None:
159
  print(f"Bots for {site}: {botsCheck} seconds")
160
  results.append([site,botsCheck])
 
165
  for site in BTsites:
166
  print(f"Checking sitemaps for {site}...")
167
  mapsCheck = check_sitemap(site)
168
+ time.sleep(15)
169
  if mapsCheck is not None:
170
  print(f"Bots for {site}: {mapsCheck} seconds")
171
  results.append([site,mapsCheck])