>>> from astroquery.eso import Eso
>>> eso = Eso()
>>> eso.retrieve_data('XXX')
>>> eso.retrieve_data('YYY')
The first call succeeds, but the second fails. The reason for this is a too clever requests module replacing urls of known permanently move responses (301). A PR with a workaround is on its way.