-
Notifications
You must be signed in to change notification settings - Fork 15
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
Empty download #14
Comments
Ok, I think I got it, this may help to update your code: I've started to add my browser headers one by one: headers = {"User-Agent": "Mozilla/5.0"
, "Accept-Encoding": "gzip, deflate, br, zstd"
, "Accept-Language": "fr,en;q=0.5"
} When adding "Accept-Language" I did got data ! Maybe the 2 others are required too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I'm trying to use your nice tool from command line but always got an empty dataset:
{"numRecordings":"8083","numSpecies":"4","page":1,...}
xeno-canto -m pinso
I got an empty dataset{'numRecordings': '0', 'numSpecies': '0', 'page': 1, 'numPages': 1, 'recordings': []}
{'numRecordings': '0', 'numSpecies': '0', 'page': 1, 'numPages': 1, 'recordings': []}
got
Same with
I think there is another security on the server preventing use outside browser, but I do not find what it is
If you have an idea ?
Thanks for helping
The text was updated successfully, but these errors were encountered: