TheAxeDude / ZiniGo

Utility to backup magazines from the Zinio service as PDF, bypassing/Removing their DRM.
MIT License
49 stars 9 forks source link

Problem with template.html #38

Open RupertB-ES opened 11 months ago

RupertB-ES commented 11 months ago

Other than the problems with password protection it has been working fine until I got the following

Fetching page:2 {"status":true,"data":[],"pagination_limit":120,"pagination_page":2,"pagination_page_total":-1,"pagination_total":-1} Loading HTML template Resolved working directory to: C:\temp\zinigo {578657 Issue Fifty Seven {Darkside Magazine 0} } Checking if issue exists: C:\temp\zinigo\issue\Darkside Magazine - Issue Fifty Seven.pdf Downloading issue: Darkside Magazine - Issue Fifty Seven panic: runtime error: index out of range [0] with length 0

What should template.html look like - I tried creating a dummy one but it didn't make a difference

motoyugota commented 8 months ago

The template in the "built" folder is what you need. It does have a bug - Line 27 is missing two characters:

<object type="image/svg+xml" data="SVG_PATH</object>

should be this:

<object type="image/svg+xml" data="SVG_PATH"></object>