Borrar filtros
Borrar filtros

download data from https

3 visualizaciones (últimos 30 días)
Stefano Pietri
Stefano Pietri el 21 de Jun. de 2021
Comentada: Image Analyst el 26 de Jun. de 2021
I would like to download data with webread from an https witha formed complex query (without using the basic query options in webread, websave as they would not work).
However I am getting a "Rorbidden" answer and error that does not explain much.
Any ideas?
  1 comentario
Rik
Rik el 21 de Jun. de 2021
Have you checked if the specific website allows non-human access?
Also, how do you expect us to give you a solution if you only tell us you're getting an 'access forbidden' error?

Iniciar sesión para comentar.

Respuestas (1)

Amrtanshu Raj
Amrtanshu Raj el 25 de Jun. de 2021
Hi,
As mentioned in the documentation. The Forbidden error is shown when Client does not have the correct credentials to make a request.
Hope this helps.
  6 comentarios
Stefano Pietri
Stefano Pietri el 26 de Jun. de 2021
however I can use the following python code and it works:
response = ulib.request.urlopen("https://...")
data = response.read()
Image Analyst
Image Analyst el 26 de Jun. de 2021
You can use Python from MATLAB - there is a webinar on that.

Iniciar sesión para comentar.

Categorías

Más información sobre Call Python from MATLAB en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by