Add progress bar

This commit is contained in:
taizan-hokuto
2020-09-03 00:57:26 +09:00
parent e9ed564e1b
commit 4eb18279fe
9 changed files with 168 additions and 112 deletions

View File

@@ -64,7 +64,16 @@ class FailedExtractContinuation(ChatDataFinished):
pass
class VideoInfoParseException(Exception):
class VideoInfoParseError(Exception):
'''
thrown when failed to parse video info
'''
class PatternUnmatchError(VideoInfoParseError):
'''
thrown when failed to parse video info with unmatched pattern
'''
def __init__(self, doc):
self.msg = "PatternUnmatchError"
self.doc = doc