Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 50107

Links not rewriting in Docker Container

$
0
0
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

Viewing all articles
Browse latest Browse all 50107

Latest Images

Trending Articles



Latest Images