added a limit to the number of tests run
This commit is contained in:
parent
c2755dd288
commit
9114ef63c1
1 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,9 @@ for a_tag in soup.find_all('a'):
|
|||
|
||||
links.append(a_tag.get("href"))
|
||||
|
||||
if len(links) >= 10:
|
||||
break
|
||||
|
||||
for i, link in enumerate(links):
|
||||
i = str(i)
|
||||
print("Testing URL #" + i + ":\n" + link)
|
||||
|
|
Loading…
Reference in a new issue