akamhy / waybackpy

Wayback Machine API interface & a command-line tool
https://pypi.org/project/waybackpy/
MIT License
453 stars 32 forks source link

Raise error on a 509 response (too many sessions) #99

Closed jonasjancarik closed 2 years ago

jonasjancarik commented 2 years ago

When the response code is 509, raise an error with an explanation (based on the actual error message contained in the response HTML).

pep8speaks commented 2 years ago

Hello @jonasjancarik! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:

Comment last updated at 2021-08-31 10:58:15 UTC
codecov[bot] commented 2 years ago

Codecov Report

Merging #99 (adb20fc) into master (5a7fc7d) will decrease coverage by 0.31%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #99      +/-   ##
==========================================
- Coverage   90.06%   89.75%   -0.32%     
==========================================
  Files           8        8              
  Lines         574      576       +2     
==========================================
  Hits          517      517              
- Misses         57       59       +2     
Impacted Files Coverage Δ
waybackpy/wrapper.py 81.45% <0.00%> (-1.34%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5a7fc7d...adb20fc. Read the comment docs.