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 af494030a915ec4cc72419939276c934919bfd0c..f394f7d62eab2b6c4162c5b1dae8903eb5886c20 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" @@ -94,6 +94,6 @@ def fetch_text(html): ```python def fetch_text(html): html = etree.HTML(html) - result = html.xpath("/text()") + result = html.xpath("//get_text()") return result ```