View Single Post
Old 09-13-2021, 03:44 AM   #8
unkn0wn
Guru
unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.unkn0wn understands the Henderson-Hasselbalch Equation.
 
Posts: 630
Karma: 85520
Join Date: May 2021
Device: kindle
Quote:
Originally Posted by Hodgy View Post
I'm still failing to get news recipe to download a cover. I have looked at similar problems on this forum and have tried:

1. adding the above code with the suggested line formatting:
def get_cover_url(self):
cover_url = "file///link/to/picture.png"
return cover_url

2. I inserted this line into the recipe in the 'class' section:
cover_url = 'file:///home/ian/Downloads/aljazeera.png'

In the job log I just see this entry at the bottom:
The cover image has an id != "cover". Renaming to work around bug in Nook Color

Does anyone have any helpful pointers? Thanks.
Why all this when you can just edit metadata and add the cover image after the file is created. As you are already pointing it to a file on your disk.
unkn0wn is offline   Reply With Quote