I am trying to fetch Recent file from sharepoint which is updated every month. Instead of manually downloading the file in local, I want to directly fetch from sharepoint and do analysis.

My sharepoint url looks likes this:

<https://abc.sharepoint.com/_layouts/15/sharepoint.aspx> 

Where `abc` is my organisation name like `apple`, `wipro` so on.

I tried following this link:

[Python - Download files from SharePoint site](https://stackoverflow.com/questions/53671547/python-download-files-from-sharepoint-site)

```
## Sharepoint access
## pip install Office365-REST-Python-Client
from office365.runtime.auth.authentication_context import AuthenticationContext
from office365.sharepoint.client_context import ClientContext

ctx_auth = AuthenticationContext("https://abc.sharepoint.com/_layouts/15/sharepoint.aspx")
ctx_auth.acquire_token_for_user('**@abc.com', '***')

 I get the error as:

  An error occurred while retrieving auth cookies from 
  https://abc.sharepoint.com/_layouts/15/sharepoint.aspx/_vti_bin/idcrl.svc
  False

```

Secondly, someone has shared me the link to sharepoint and I have access to download it.
It looks like:

<https://abc-my.sharepoint.com/personal/persons_name_abc_com/_layouts/15/onedrive.aspx?view=4>

Inside this there is folder named `Analysis Files`. In `Analysis Files` folder there is excel file which 
 I have to download. 
 How can I do it using python 3?