Downloading file with Python mechanize

后端 未结 1 968
刺人心
刺人心 2021-02-08 02:17

I am trying to download a file from a website using python and mechanize. My current code successfully logs on to the website and opens the page that contains the download link.

1条回答
  •  攒了一身酷
    2021-02-08 02:48

    For anyone who's interested, this was the solution:

    br.retrieve('https://www.lendingclub.com/browse/browseNotesRawDataV2.action','l‌​oans.csv')[0]
    

    0 讨论(0)
提交回复
热议问题