We can use a regex to automatically discover all images inside a shared dropbox folder and there allow to easily use dropbox as storage solution.
Python script:
import requests
import re
url = 'https://www.dropbox.com/sh/ky5f7kohs1rxr1h/AAArN861GFjabaGTxvqPJsgoa?dl=0'
# get everything on the shared page
r = requests.get(url)
# find all links
results = re.findall('https://www.dropbox.com/sh/\S+?\.(?:jpg|jpeg|gif|png)\?dl=0', r.text)
# remove duplicates
print list(set(results))
PHP script (you can probably improve it but at least it works)
We decided not to officially support Dropbox as it is not ideal for storage of remote volumes. It is cumbersome to set up, very slow, tracks every request from BIIGLE and might violate the Dropbox terms of use.
We can use a regex to automatically discover all images inside a shared dropbox folder and there allow to easily use dropbox as storage solution.
Python script:
PHP script (you can probably improve it but at least it works)