Add documentation about supported sites (Fixes #4503)

This commit is contained in:
Philipp Hagemeister 2014-12-30 19:35:35 +01:00
parent 7fc2cd819e
commit 416c7fcbce
6 changed files with 567 additions and 3 deletions

View file

@ -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