From c49fe971fd6fe62849e885ae4b0613c55c7540a5 Mon Sep 17 00:00:00 2001 From: Akash Mahanty Date: Mon, 24 Jan 2022 23:15:59 +0530 Subject: [PATCH] update the older deprecation not for Url class, the newer date is now 2025 instead of 2024. --- waybackpy/wrapper.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/waybackpy/wrapper.py b/waybackpy/wrapper.py index f492c50..24f66ae 100644 --- a/waybackpy/wrapper.py +++ b/waybackpy/wrapper.py @@ -5,14 +5,16 @@ from .utils import DEFAULT_USER_AGENT from datetime import datetime, timedelta """ -The class Url is not recommended to be used anymore, instead use the -WaybackMachineSaveAPI, WaybackMachineAvailabilityAPI and WaybackMachineCDXServerAPI -classes. +The Url class is not recommended to be used anymore, instead use the +WaybackMachineSaveAPI, WaybackMachineAvailabilityAPI and WaybackMachineCDXServerAPI. -The only reason it is still in the code is just backwards compatibility. +The reason it is still in the code is backwards compatibility with 2.x.x versions. -If you are using the Url class, you can later probably update the code as this -class should probably be deleted after after 2024-01-01. +If were are using the Url before the update to version 3.x.x, your code should still be +working fine and there is no hurry to update the interface but is recommended that you +do not use the Url class for new code as it would be removed after 2025 also the first +3.x.x versions was released in January 2022 and three years are more than enough to update +the older interface code. """