anime-downloader bug fix 5.
This commit is contained in:
@@ -172,12 +172,18 @@ class LogicOhli24(LogicModuleBase):
|
||||
|
||||
if code.startswith('http'):
|
||||
|
||||
if code.split('c/')[1] is not None:
|
||||
# if code.split('c/')[1] is not None:
|
||||
# code = code.split('c/')[1]
|
||||
# code_type = 'c'
|
||||
# elif code.split('e/')[1] is not None:
|
||||
# code_type = 'e'
|
||||
# code = code.split('e/')[1]
|
||||
if '/c/' in code:
|
||||
code = code.split('c/')[1]
|
||||
code_type = 'c'
|
||||
elif code.split('e/')[1] is not None:
|
||||
code_type = 'e'
|
||||
elif '/e/' in code:
|
||||
code = code.split('e/')[1]
|
||||
code_type = 'e'
|
||||
|
||||
logger.info(f'code:::: {code}')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user