From 1abb46828bb42a7cc46833e5f6aaeb24ae18084b Mon Sep 17 00:00:00 2001 From: akamhy <64683866+akamhy@users.noreply.github.com> Date: Sat, 2 May 2020 15:19:52 +0530 Subject: [PATCH] Update wrapper.py --- pywayback/wrapper.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pywayback/wrapper.py b/pywayback/wrapper.py index fef4d01..a3793a2 100644 --- a/pywayback/wrapper.py +++ b/pywayback/wrapper.py @@ -5,13 +5,17 @@ from urllib.request import Request, urlopen import urllib.error class TooManyArchivingRequestsError(Exception): - """Error when a single url reqeusted for archiving too many times in a short timespam. + """ + Error when a single url reqeusted for archiving too many times in a short timespam. Wayback machine doesn't supports archivng any url too many times in a short period of time. """ class ArchivingNotAllowed(Exception): - pass + """ + Files like robots.txt are set to deny robot archiving. + Wayback machine respects these file, will not archive. + """ def save(url,UA="pywayback python module"):