now using requests lib as it handles errors nicely
This commit is contained in:
@@ -4,3 +4,8 @@ class WaybackError(Exception):
|
||||
"""
|
||||
Raised when Wayback Machine API Service is unreachable/down.
|
||||
"""
|
||||
|
||||
class URLError(Exception):
|
||||
"""
|
||||
Raised when malformed URLs are passed as arguments.
|
||||
"""
|
||||
|
Reference in New Issue
Block a user