View Single Post
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