I'm trying to download a small Entrez dataset using eutils. I use three strategies (i.e. libraries) to do that : bioperl, biopython and requests python library.
Unfortunately, the download is not robust : the result is often empty (the request status code is 200, but the XML contains an error).
<eSummaryResult> <ERROR>Unable to obtain query #1</ERROR> </eSummaryResult>
I use an epost command with a small set of GI (10 - 100). Webenv - query_key - retstart - retmax attributes are used to build an Epost or Esummary request.
If I paste the dynamic URL in my favorite browser, it works ! Relaunch the code, it works ! Relaunch the code, error !
I'm really disappointed... Have you any idea about what I missed ?