CLI: Show chapter numbers with -m option dump.

This commit is contained in:
Jim Miller 2017-09-11 15:11:58 -05:00
parent d9d776e8d2
commit 6980f0b990

View file

@ -401,7 +401,8 @@ def do_download(arg,
# regular download
if options.metaonly:
pprint.pprint(adapter.getStoryMetadataOnly().getAllMetadata())
pprint.pprint(adapter.chapterUrls)
for i, x in enumerate(adapter.chapterUrls):
pprint.pprint( (i+1,x[0],x[1]) )
output_filename = write_story(configuration, adapter, options.format, options.metaonly)