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_p.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_p.md" index f636846e061127460710baed83433cbd9bf2eb29..603209db61f01929b2f0ffc994a79ad2d585f19e 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_p.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_p.md" @@ -76,7 +76,7 @@ def fetch_text(html): ```python def fetch_text(html): html = etree.HTML(html) - result = html.xpath("//p/text") + result = html.xpath(".//p/text") return result ```