使用python在web上抓取web

时间:2021-11-06 01:23:39

What can I do to scrape web pages using scrapy but on android? If it can't be done then what are the other options that I can use(In Java maybe)? For example I wish to scrape this page for Customers who viewed also viewed these sections and extract the name, link, picture and price of the products listed there.

我可以做什么来使用scrapy刮网页但是在android上?如果无法完成,那么我可以使用的其他选项是什么(在Java中可能)?例如,我希望为查看过这些部分的客户搜索此页面,并提取其中列出的产品的名称,链接,图片和价格。

1 个解决方案

#1


2  

I use QPython(http://qpython.com/) to execute python code on android. However,this tool may not have scrapy package, but you can use urllib and urllib2(QPython contain these two package).

我使用QPython(http://qpython.com/)在android上执行python代码。但是,这个工具可能没有scrapy包,但你可以使用urllib和urllib2(QPython包含这两个包)。

#1


2  

I use QPython(http://qpython.com/) to execute python code on android. However,this tool may not have scrapy package, but you can use urllib and urllib2(QPython contain these two package).

我使用QPython(http://qpython.com/)在android上执行python代码。但是,这个工具可能没有scrapy包,但你可以使用urllib和urllib2(QPython包含这两个包)。