anime-downloader bug fix 1.
This commit is contained in:
@@ -498,10 +498,16 @@ class Ohli24QueueEntity(FfmpegQueueEntity):
|
||||
|
||||
match = re.compile(r'(?P<title>.*?)\s*((?P<season>\d+)%s)?\s*((?P<epi_no>\d+)%s)' % (u'기', u'화')).search(
|
||||
self.info['title'])
|
||||
|
||||
# epi_no 초기값
|
||||
epi_no = 1
|
||||
|
||||
if match:
|
||||
self.content_title = match.group('title').strip()
|
||||
if 'season' in match.groupdict() and match.group('season') is not None:
|
||||
self.season = int(match.group('season'))
|
||||
|
||||
# epi_no = 1
|
||||
epi_no = int(match.group('epi_no'))
|
||||
ret = '%s.S%sE%s.%s-OHNI24.mp4' % (
|
||||
self.content_title, '0%s' % self.season if self.season < 10 else self.season,
|
||||
|
||||
Reference in New Issue
Block a user