Search code examples
pythondropbox

get dropbox file content using dropbox URL


I have dropbox filepicker in my project, once user select file i am receiving URL of the dropbox, now i want a content of that file using that URL in python.

here is the link which i received from dropbox picker : https://www.dropbox.com/s/ocissavtfvvdh2g/images.png?dl=0

I have checked this link https://sodocumentation.net/dropbox-api/topic/408/downloading-a-file, but it will ask for the path, but i don't have path of the file, i just have URL of the file


Solution

  • I just have to use 1 in dl querystring.

    https://www.dropbox.com/s/ocissavtfvvdh2g/images.png?dl=1 like this