Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 06-19-2023, 09:30 AM   #1
koesac
Junior Member
koesac began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jun 2023
Device: Kindle PW
Links not rewriting in Docker Container

Hi Everyone

I have a very simple recipe working in Windows but when I run in a container the links are pointing to a temp location and not updating. Has anyone come across this before and managed to solve it?

The only thing different about this recipe is the addition of recursions=2 so that it downloads linked articles.

Recipe
Spoiler:
#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe

class AdvancedUserRecipe1685260128(BasicNewsRecipe):
title = 'Monevator RSS'
oldest_article = 7
max_articles_per_feed = 100
auto_cleanup = True
recursions = 2

feeds = [
('Monevator RSS', 'http://feeds.feedburner.com/Monevatorcom'),
]


Example link which hasn't been rewritten:
href="file%3a/tmp/calibre_6.14.0_tmp_bcnxzis_/s__8o8go_plumber/feed_0/article_0/links/link0/index.xhtml"

I have verified that the linked articles are being downloaded and when I manually edit the .epub I can access them.

I have tried running the debug pipeline but other than some css warnings nothing is standing out to me.

Any help would be greatly appreciated,

Thanks
koesac is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Docker and viewing on Browser Mickyb Calibre 7 10-22-2022 01:41 PM
Running Calibre in a Docker container: How can I connect to my Kobo? TheRealJohnAdams Server 1 03-21-2022 01:27 AM
Docker Calibre and KOReader feffe KOReader 6 09-29-2019 10:02 PM
Preventing Calibre from rewriting custom HTML in recipe? simplisity Recipes 8 09-15-2017 01:42 AM
Rewriting books is doubleplusungood Fastolfe News 209 05-11-2011 04:25 PM


All times are GMT -4. The time now is 10:32 AM.


MobileRead.com is a privately owned, operated and funded community.