from urllib.request import urlopen
from bs4 import BeautifulSoup

html=urlopen("http://pythonscraping.com/pages/page3.html")
bs=BeautifulSoup(html, 'lxml')
for sibling in bs.find("table",{"id":"giftList"}).tr.next_siblings: # or use children
    print(sibling)


