way

waybackpy

pypi i waybackpy

35 Versions

3.0.6

7 months ago
What's Changed

Full Changelog: https://github.com/akamhy/waybackpy/compare/3.0.5...3.0.6


3.0.5

8 months ago

3.0.4

8 months ago
What's Changed

Full Changelog: https://github.com/akamhy/waybackpy/compare/3.0.3...3.0.4


3.0.3

8 months ago
What's Changed
  • Dropped Python 3.4 to 3.6, both inclusive.
  • Catch 429 and 509 status code for save page now API
  • Increase the default CDX limit from 5000 to 25000 records per API call.
  • Added type hint
  • The package will now close the sessions explicitly.
  • Removed useless code.
  • Added docstrings.
New Contributors

Full Changelog: https://github.com/akamhy/waybackpy/compare/3.0.2...3.0.3


3.0.2

8 months ago

Nothing changed wrt to the previous version but creating a release for Conda forge. Replace the NON-ASCII character figlet with ASCII character figlet.

see https://github.com/conda-forge/staged-recipes/pull/17643


3.0.1

8 months ago
What's Changed New Contributors

See also https://github.com/conda-forge/staged-recipes/pull/17634 and https://github.com/conda-forge/staged-recipes/pull/17634#issuecomment-1021208697 Full Changelog: https://github.com/akamhy/waybackpy/compare/3.0.0...3.0.1


3.0.0

9 months ago
What's Changed
  • 3 different APIs have now 3 different classes, WaybackMachineCDXServerAPI, WaybackMachineSaveAPI and WaybackMachineAvailabilityAPI.
  • CLI now supports the CDX API.
  • The past Url class will be continued to be supported, don't need to worry that your old code will break.
  • Get is now deprecated, it was a bad idea even trying to add tasks meant for urllib.

Full Changelog: https://github.com/akamhy/waybackpy/compare/2.4.4...3.0.0


2.4.4

1 year ago
  • When the response code is 509, raise an error with an explanation (based on the actual error message contained in the response HTML).
  • Fix typo


2.4.3

2 years ago
  • Fix redirect issues with HTTP and HTTPS redirection
  • More stable archiving


2.4.2

2 years ago
  • added CLI Arg --file, if this Arg is not used with known URLs than waybackpy will not save the output URLs in file.
  • added cached_save flag on waybackpy URL object, if the returned saved archive is older than 3 mins the flag is true else false.
  • BUG FIX : the CLI --json arg was not returning valid JSON instead JSON loaded python dict. This is now fixed.


2.4.1

2 years ago
  • Change str repr of cdxsnapshot to cdx line
  • Support unix ts as an arg in near
  • Don't fetch more pages if >=2 pages are empty, Pagination API
  • Don't use pagination API if total pages <= 2
  • The Cdx method get() now gets the last fetched archive by default


2.4.0

2 years ago
  • Cdx API now fully supported


2.3.3

2 years ago
  • Added support for querying CDX Pagination API
  • Cdx class is publicly available to be used in third party code.
  • Some methods of Url now used Cdx Pagination API


2.3.2

2 years ago
  • Better error messages for CLI users.
  • FIXED BUG: removed code from init that was fetching availability API without instruction.


2.3.1

2 years ago
  • Fixed bug: Url.init() was making unnecessary requests to the availability checking API.


2.3.0

2 years ago
  • Now using requests package instead of urllib.request. requests package is bettor for handling unusual redirects and other issues.
  • Now using threading for checking live URLs.
  • Improve code quality and formatting.
  • And now we also have a new cool logo.
  • Docs are no longer hosted on readthedocs, but https://akamhy.github.io/waybackpy/


2.2.0

2 years ago

Changes:

  • Added archive_url and --archive_url in the wrapper and CLI respectively. This just is an alias for the newest method.
  • All the return types of archive URLs are not strings anymore but instance of the Url class.
  • Added JSON and --json in the wrapper and CLI respectively. Used to read the API response of the avialiblity API.
  • the len() method on Url objects will now return the age of the archive.


2.1.9

2 years ago

2.1.9


2.1.8

2 years ago

1) New feature - known urls list 2) Updated Readme


2.1.7

2 years ago

New regex added for parsing the archive URL.


2.1.6

2 years ago
  • fix issues with cli

2.1.5

2 years ago
  • minor bug fixes

2.1.4

2 years ago
  • removed duplicate method which should improve the error handling

2.1.3

2 years ago
  • Support CLI
  • Code refactoring
  • bug fixes
  • better exceptions

2.1.2

2 years ago
  • Minor bug fixes.
  • Updated index.rst
  • 2 new test introduced

2.1.1

2 years ago
  • Minor bug fixes
  • Example replit links changed to my account.

2.1.0

2 years ago
  • Updates for recent API changes
  • Updated documentation

2.0.2

2 years ago

2.0.1

2 years ago

No Time out for final save() try.


2.0.0

2 years ago

OOP based


1.6

2 years ago

1.4

2 years ago

1.3

2 years ago

v1.2

2 years ago

support for get() fix bug with near()


v1.1

2 years ago

First release of waybackpy !

35 Versions

TagPublished
3.0.67mos ago
3.0.58mos ago
3.0.48mos ago
3.0.38mos ago
3.0.28mos ago
3.0.18mos ago
3.0.09mos ago
2.4.41yr ago
2.4.32yrs ago
2.4.22yrs ago
2.4.12yrs ago
2.4.02yrs ago
2.3.32yrs ago
2.3.22yrs ago
2.3.12yrs ago
2.3.02yrs ago
2.2.02yrs ago
2.1.92yrs ago
2.1.82yrs ago
2.1.72yrs ago
2.1.62yrs ago
2.1.52yrs ago
2.1.42yrs ago
2.1.32yrs ago
2.1.22yrs ago
2.1.12yrs ago
2.1.02yrs ago
2.0.22yrs ago
2.0.12yrs ago
2.0.02yrs ago
1.62yrs ago
1.42yrs ago
1.32yrs ago
v1.22yrs ago
v1.12yrs ago