Update exceptions.py
This commit is contained in:
@@ -1,11 +1,13 @@
|
|||||||
# -*- 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.
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user