擅长:python、mysql、java
<p>你可以试试我找到的这个指南:</p>
<p><a href="http://docs.python-guide.org/en/latest/scenarios/scrape/" rel="nofollow">http://docs.python-guide.org/en/latest/scenarios/scrape/</a></p>
<p>对于xpath,我建议使用mozillafirefox和Firebug插件。它可以为您生成XPath,这将帮助您更快地编写脚本</p>