Clicky

  • Welcome to P2P Lending / NFT Lending Forum.
 

ETH.LOAN

News:

This was the original Lend Academy peer-to-peer lending forum, since forensically restored by deBanked and now reintroduced to eth.loan.

To restore access to your user account, email [email protected]. We apologize for errors you may experience during the recovery.

Main Menu
NEW LOANS:   | 804.eth 2.500 Ξ | remoraid.eth 0.299 Ξ | remoraid.eth 0.299 Ξ | ALL

Help on python script to download browseNotes

Started by Peter, November 08, 2018, 11:00:00 PM

Previous topic - Next topic

thejbills

I am trying to automate my investment. The only piece of the puzzle left for me is to download the market notes CSV. I'm aware that you can download the data through the lending club API. However, the data is not the same; there are fewer columns and often fewer notes. So I want to write a script to download the CSV. To do this you have to navigate to the sign in page, sign in, navigate to the manual invest page, and find the download link to the CSV. The reason you can't go directly to the CSV download link is that there is dynamic information in the link. For example:

https://resources.lendingclub.com/secure/primaryMarketNotes/browseNotes_1-RETAIL.csv?signature=iMR1LOLGT7LO1Rjx5ktJTn8uA%3D&issued=15417747660" class="bbc_link" target="_blank">https://resources.lendingclub.com/secure/primaryMarketNotes/browseNotes_1-RETAIL.csv?signature=iMR1LOLGT7LO1Rjx5ktJTn8uA%3D&issued=15417747660

I can sign in, navigate to the manual investment page, and find the dynamic link. But I can't seem to download the file. Here is my python code so far.

Code: [Select]


tomusn83

I am winding my account down but I was investing using my own scripts up until last summer. Try the following. Best of luck.

Code: [Select]

NEW LOANS:   | 804.eth 2.500 Ξ | remoraid.eth 0.299 Ξ | remoraid.eth 0.299 Ξ | ALL