i
, j
is title
, link
already. Why do you find them again?
for i, j in zip(titlesoup, linksoup):
print(i.getText())
print(j.getText())
print("\n")
Beside that, pass features='xml'
to BeautifulSoup
if you parse xml file.
soup = BeautifulSoup(webpage, features='xml')