diff --git "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/4.lxml/get_html_text.md" "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/4.lxml/get_html_text.md" index db21bce4bdb2b6d27c413fc8447515b550fb1a1f..af494030a915ec4cc72419939276c934919bfd0c 100644 --- "a/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/4.lxml/get_html_text.md" +++ "b/data/2.python\344\270\255\351\230\266/3.\347\275\221\347\273\234\347\210\254\350\231\253/4.lxml/get_html_text.md" @@ -85,7 +85,7 @@ def fetch_text(html): ```python def fetch_text(html): html = etree.HTML(html) - result = html.xpath("//text") + result = html.xpath(".//text") return result ```