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