akamhy / waybackpy

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

fix total #65

Closed akamhy closed 3 years ago

akamhy commented 3 years ago

waybackpy --url https://github.com/akamhy/waybackpy--user_agent haha --total

akamhy commented 3 years ago

fall back on resumption.

pagination keeps the load low but is not instantaneous, results are flawed for some sites.

akamhy commented 3 years ago

fall back on resumption

why not ditch it ?

akamhy commented 3 years ago

fall back on resumption

why not ditch it ?

Okay, if total pages are more than 10 then use pagination API else use normal API with resume key. For less archives we should care more about accuracy, and pagination API appears lagged to me.

akamhy commented 3 years ago

fixed in v2.4.1