View Single Post
Old 09-17-2011, 04:56 AM   #3
fenuks
Enthusiast
fenuks began at the beginning.
 
Posts: 34
Karma: 10
Join Date: Aug 2011
Device: Amazon Kindle 3
Thanks. That works.
Quote:
Originally Posted by kovidgoyal View Post
img.name = 'img'
img['src'] = 'whatever'
I looked at log and when I used replaceWith() function calibre didn't know that it must fetch those images. Same thing when I did insert
Code:
sometag.insert(pos, '<img src="link" />')
. When I parsed this tag into soup it inserts '\n'. Anyway, first method works. Best regards.
fenuks is offline   Reply With Quote