-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error while downloading recordings with query_xc #44
Comments
Just wanted to post the same issue. Example: A simple Many thanks for looking into this. |
Thanks for reporting. It seems that XC changed the base URL for file downloading. I just updated the function so it's working again. Please re-install warbleR from github. |
Many thanks maRce10. Enjoy the holidays! |
Thank you so much Marcelo, I tried now and it works. |
Hi,
I downloaded recordings in the past with no problem using query_xc. Now however, it is giving me an error that "HTTP status was '404 Not Found'". I am trying to download recordings from metadata that I filtered to have only a certain type of vocalization. I downloaded warbleR from github after looking at previous issues but it still has the same problem.
Code:
#Packages
library(devtools)
devtools::install_github("maRce10/warbleR")
library(warbleR)
library(tuneR)
library(maps)
library(tidyr)
library(dplyr)
library(xlsx)
library(writexl)
library(lubridate)
library(plyr)
library(sqldf)
#corvids
Corvus1<- query_xc(qword = "Corvus", download = FALSE)
|++++++++++++++++++++++++++++++++++++++++++++++++++| 100% elapsed=02m 22s
6203 recording(s) found!
#keep only alarm calls
alarm<-sqldf("SELECT * FROM Corvus1 WHERE Vocalization_type LIKE '%alarm%'")
#download recordings
query_xc(X = alarm, download = TRUE)
Downloading files...
| | 0 % ~calculating Error in download.file(url = paste("https://www.xeno-canto.org/download.php?XC=", :
cannot open URL 'https://www.xeno-canto.org/download.php?XC=357593'
In addition: Warning message:
In download.file(url = paste("https://www.xeno-canto.org/download.php?XC=", :
cannot open URL 'https://www.xeno-canto.org/download.php?XC=357593': HTTP status was '404 Not Found'
Thanks in advance!
The text was updated successfully, but these errors were encountered: