maRce10 / suwo

Access nature media repositories through R
4 stars 0 forks source link

fix download links file_url from query_gbif() output #15

Closed maRce10 closed 1 year ago

maRce10 commented 1 year ago
op <- query_gbif("Oophaga pumilio", "sound", cores = 1, pb = TRUE)

# this doesn't download anything
download_media(op, path = tempdir())

# its because they have some extra stuff after the file extension
op$file_url

We should remove this extra stuff