Home  >  Q&A  >  body text

python - 请问pyspider爬虫可以实现下载pdf功能吗?

如题。
已经实现了下载图片的功能。但下载pdf没找到相关的教程。

ringa_leeringa_lee2741 days ago519

reply all(2)I'll reply

  • PHPz

    PHPz2017-04-18 10:29:50

    It can be achieved.
    http://blog.csdn.net/u0127054...

    reply
    0
  • 黄舟

    黄舟2017-04-18 10:29:50

    If it can be downloaded, I downloaded the pdf from People’s Daily. Just like downloading pictures, use this urllib.request.urlretrieve

    reply
    0
  • Cancelreply