mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-04-20 02:41:19 +02:00
add travis-ci test
This commit is contained in:
parent
0935d609c3
commit
9b65544942
@ -19,3 +19,4 @@ script:
|
|||||||
- NHENTAI=https://nhentai.net nhentai --tag lolicon
|
- NHENTAI=https://nhentai.net nhentai --tag lolicon
|
||||||
- NHENTAI=https://nhentai.net nhentai -F
|
- NHENTAI=https://nhentai.net nhentai -F
|
||||||
- NHENTAI=https://nhentai.net nhentai --file /tmp/test.txt
|
- NHENTAI=https://nhentai.net nhentai --file /tmp/test.txt
|
||||||
|
- nhentai --id=152503,146134 --gen-main --output=/tmp/
|
||||||
|
@ -138,7 +138,7 @@ def generate_main_html(output_dir='.'):
|
|||||||
with open('./main.html', 'wb') as f:
|
with open('./main.html', 'wb') as f:
|
||||||
f.write(data.encode('utf-8'))
|
f.write(data.encode('utf-8'))
|
||||||
logger.log(
|
logger.log(
|
||||||
15, 'Main Viewer has been write to \'{0}/main.html\''.format(output_dir))
|
15, 'Main Viewer has been write to \'{0}main.html\''.format(output_dir))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.warning('Writen Main Viewer failed ({})'.format(str(e)))
|
logger.warning('Writen Main Viewer failed ({})'.format(str(e)))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user