The given example don't work with my epubs, it gives me this error:
Code:
output file: merge.epub
Traceback (most recent call last):
File "epubmerge.py", line 373, in <module>
main(sys.argv[1:])
File "epubmerge.py", line 72, in main
options.striptitletoc)
File "epubmerge.py", line 177, in doMerge
source=firstmetadom.getElementsByTagName("dc:source")[0].firstChild.data.encode("utf-8")
IndexError: list index out of range