mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-19 18:31:24 +02:00
Fixed if user add white spaces
This commit is contained in:
parent
35e724e206
commit
01caa8d4e5
@ -199,7 +199,7 @@ def tag_parser(tag_name, max_page=1, index=0):
|
||||
tag_name = tag_name.lower()
|
||||
tag_name = tag_name.replace(' ', '-')
|
||||
if ',' in tag_name:
|
||||
tag_name = tag_name.split(',')
|
||||
tag_name = [i.strip() for i in string.split(',')]
|
||||
|
||||
for p in range(1, max_page + 1):
|
||||
logger.debug('Fetching page {0} for doujinshi with tag \'{1}\''.format(p, tag_name))
|
||||
|
Loading…
x
Reference in New Issue
Block a user