Skip to content

Commit

Permalink
wp-list now checks attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel Blancard committed May 1, 2016
1 parent d6ff641 commit c41060f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions weakscraper/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ def skip_children(html, html_position):
while (
(html_position < html_n_children) and
(html['children'][html_position]['nodetype'] == 'tag') and
self_child.attrs_match(html['children'][html_position]['attrs']) and
(html['children'][html_position]['name'] == self_child.name)
):
result = self.compare_wrapper(self_child, html['children'][html_position])
Expand Down

0 comments on commit c41060f

Please sign in to comment.