Scrapy crawl data inside pdf file

谁都会走 提交于 2019-12-07 18:11:37

问题


I would like to know how to crawl data inside a pdf file using scrapy. Which module should I use and which is the best and effective way?? Could you please give me some sample tutorials on this

Thanks!!


回答1:


I suggest you get the PDF with Scrapy and use PyPDF2 to get the content inside the PDF.

For a complete but somewhat old (using pyPDF) example take a look at this site.



来源:https://stackoverflow.com/questions/31288217/scrapy-crawl-data-inside-pdf-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!