Update exceptions.py

This commit is contained in:
akamhy 2020-05-05 10:05:47 +05:30 committed by GitHub
parent a6cb955669
commit 44156e5e7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,12 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
class TooManyArchivingRequests(Exception): class TooManyArchivingRequests(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. Wayback machine doesn't supports archivng any url too many times in a short period of time.
""" """
class ArchivingNotAllowed(Exception): class ArchivingNotAllowed(Exception):
""" """Files like robots.txt are set to deny robot archiving.
Files like robots.txt are set to deny robot archiving.
Wayback machine respects these file, will not archive. Wayback machine respects these file, will not archive.
""" """