m-haisham / novelsave

This is a tool to download and convert novels from popular sites to e-books.
Apache License 2.0
36 stars 7 forks source link

Asset recognition error when a novel uses same asset more than once #70

Closed damare01 closed 2 years ago

damare01 commented 2 years ago

Describe the bug ❗ (sqlite3.IntegrityError) UNIQUE constraint failed: assets.novel_id, assets.url [SQL: INSERT INTO assets (name, url, path, type_id, novel_id) VALUES (?, ?, ?, ?, ?)] [parameters: ('Belator', 'https://user-pic.webnovel.com/userheadimg/4300020728-10/100.jpg?uut=1549988455000', None, 1, 1)] (Background on this error at: https://sqlalche.me/e/14/gkpj)

m-haisham commented 2 years ago

Would you mind providing the novel in question?

damare01 commented 2 years ago

I was downloading this novel