Scrapy 的 Ruby 替代品?
有哪些基于 Ruby 的工具可以帮助我实现与 Scrapy 对 Python 所做的类似的事情? http://doc.scrapy.org/intro/overview.html
What are some Ruby-based tools that can help me achive something similar to what Scrapy does for python?
http://doc.scrapy.org/intro/overview.html
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Mechanize 是基于 Nokogiri 构建的。
Nokigiri 是基于 XPath 的。
Hpricot 是另一个工具。
有 Scrapi 它基于 CSS 选择器来提取信息,但执行速度较慢根据我的测试,比 Nokogiri 更好。
有 scRUBYt。
我确信还有其他人,但这些是我遇到的。
如果您找不到可以解决您问题的工具,请查看网络爬虫库,例如 Anemone< /a> 并将其与上面列出的低级抓取框架之一结合起来。
或者继续学习 Python。它将扩大您在编程世界中的业力。
There's Mechanize which is built upon Nokogiri.
There's Nokigiri which is based on XPath.
Hpricot is another tool.
There's Scrapi which is based on CSS selectors to extract information, but performs slower than Nokogiri based on my testing.
There's scRUBYt.
I'm sure there are others, but these are the ones that I came across.
If you don't find a single tool that solves your problems, checkout web spidering libraries like Anemone and combine it with one of the low-level scraping frameworks listed above.
Or just go ahead and learn Python. It'll expand your karma in the programming world.
您还可以查看 海葵
You can also check out Anemone