|
|
#1 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2021
Device: PocketBook Pro 903
|
BasicNewsRecipe didn't work with xml www.swr.de
BasicNewsRecipe shows error Failed feed: SWR2 Feature
HTTP Error 404: Not Found. Please tell me what can be fixed or configured to receive news from this feed? Code:
#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1631906912(BasicNewsRecipe):
title = 'SWR2 Feature'
oldest_article = 7
max_articles_per_feed = 100
auto_cleanup = True
use_embedded_content = True
feeds = [
('SWR2 Feature', 'https://www.swr.de/~podcast/swr2/programm/swr2-feature-podcast-106.xml'),
]
|
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,716
Karma: 28549306
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This will be because of the ~ in the URL which mechanize escapes and this server doesnt handle the escaped version.
Last edited by kovidgoyal; 09-19-2021 at 12:50 AM. |
|
|
|
| Advert | |
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Polish Cover didn't quite work | Amalthia | Conversion | 13 | 11-17-2020 02:39 AM |
| Why didn't this regex work right? | mrmikel | Editor | 1 | 04-12-2014 11:04 AM |
| Touch Updated to 2.8.1, now SD card didn't work | VirgoGirl | Kobo Reader | 36 | 09-13-2013 08:49 AM |
| Troubleshooting Help,My kindle didn't work. Please | feiyangw | Amazon Kindle | 4 | 12-23-2011 05:49 AM |
| PRS-600 Power Management Didn't Work | Coreman | Sony Reader | 9 | 10-12-2009 07:58 AM |