neuroquery / pubget

Collecting papers from PubMed Central and extracting text, metadata and stereotactic coordinates.
https://neuroquery.github.io/pubget/
MIT License
20 stars 12 forks source link

when a request fails, wait for 2s and retry (up to 4 times) #14

Closed jeromedockes closed 1 year ago

jeromedockes commented 1 year ago

response content is also check rather than just status code

codecov-commenter commented 1 year ago

Codecov Report

Merging #14 (bfd1ba9) into main (c5806dd) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #14   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           25        25           
  Lines         1907      1951   +44     
=========================================
+ Hits          1907      1951   +44     
Impacted Files Coverage Δ
src/nqdc/_entrez.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.