basically I need this to display on the url:
i = 0
while i < 15:
tags1 = soup.find_all('h2')[i].get_text()
print(tags1)
if i == 3:
break
i = i + 1
currently, only works in python idle
any help would be great