提交 1ff9a482 编写于 作者: P Paul Tremberth

Do not commit on any HTML parsing speed assumption with BS4+lxml

上级 6cbd92fa
......@@ -35,8 +35,7 @@ for parsing HTML responses in Scrapy callbacks.
You just have to feed the response's body into a ``BeautifulSoup`` object
and extract whatever data you need from it.
Here's an example spider using BeautifulSoup API, with ``lxml`` as the HTML parser
(so you get the same parsing speed as with scrapy/parsel selectors)::
Here's an example spider using BeautifulSoup API, with ``lxml`` as the HTML parser::
from bs4 import BeautifulSoup
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册