scrapinghub / mdr

A python library detect and extract listing data from HTML page.
109 stars 29 forks source link

fix list_candidates: filter out elements with no children (which mdr.… #8

Open dportabella opened 7 years ago

dportabella commented 7 years ago

fix list_candidates: filter out elements with no children (which mdr.extract(e) would crash on)

fixes also this test case: https://github.com/scrapinghub/mdr/issues/7