bash0 / cewe2pdf

A python script to turn cewe photobooks into pdfs
GNU General Public License v3.0
41 stars 26 forks source link

Cures the issue of junk bytes after the end of the fotobook xml in a .mcfx album #179

Closed AnEnglishmanInNorway closed 2 weeks ago

AnEnglishmanInNorway commented 2 weeks ago

Introduces a more general approach (from @fchyzak) to solving the problem of various junk bytes coming after the fotobook xml in the mcf file extracted from a .mcfx database. Should cure https://github.com/bash0/cewe2pdf/issues/176.

This pull request replaces the coding part of https://github.com/bash0/cewe2pdf/pull/177. Other parts of that pull request are not brought in, ref the discussions there, and I suggest we close that without merging.

Also introduces a new pytest runnable test for the code which unpacks the sqlite database (.mcfx) file

Other issues raised in relation to the placement and use of configuration files have been resolved (or at least improved) by documentation updates to the README.md file