Add documentation about supported sites (Fixes #4503)
This commit is contained in:
parent
7fc2cd819e
commit
416c7fcbce
6 changed files with 567 additions and 3 deletions
|
@ -464,6 +464,13 @@ class ExtractorError(Exception):
|
|||
return ''.join(traceback.format_tb(self.traceback))
|
||||
|
||||
|
||||
class UnsupportedError(ExtractorError):
|
||||
def __init__(self, url):
|
||||
super(UnsupportedError, self).__init__(
|
||||
'Unsupported URL: %s' % url, expected=True)
|
||||
self.url = url
|
||||
|
||||
|
||||
class RegexNotFoundError(ExtractorError):
|
||||
"""Error when a regex didn't match"""
|
||||
pass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue