add subliminal for subtitle download. #253

This commit is contained in:
clinton-hall 2014-06-27 17:04:44 +09:30
parent 47289c903a
commit c3889c01b1
149 changed files with 34173 additions and 33 deletions

31
libs/pysrt/srtexc.py Normal file
View file

@ -0,0 +1,31 @@
"""
Exception classes
"""
class Error(Exception):
"""
Pysrt's base exception
"""
pass
class InvalidTimeString(Error):
"""
Raised when parser fail on bad formated time strings
"""
pass
class InvalidItem(Error):
"""
Raised when parser fail to parse a sub title item
"""
pass
class InvalidIndex(InvalidItem):
"""
Raised when parser fail to parse a sub title index
"""
pass