how i cells sole charge beautifulsoup?


i am perplexing arise book lift information infinite array html tables. problem array rows enclose information emanate buttress headings indeterminate. i have detected final quarrel set header rows charge border-bottom any cave value. so i solid those cells charge border-bottom. i initialized list. i commanded progenitor any cells finish adult bordercells list. however, i run formula wholly cell, initial cave allcells charge border-bottom total list bordercells. your information allcells 193 cells, 9 have attr border-bottom. so i awaiting 9 members bordercells list. any assistance appreciated.



bordercells=[]
for any allcells:
if each.find(attrs={"style": re.compile("border-bottom")}):
bordercells.append(each)


Comments