09-17-2021, 03:42 PM | #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'), ] |
09-18-2021, 11:27 PM | #2 |
creator of calibre
Posts: 43,858
Karma: 22666666
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-18-2021 at 11:50 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Polish Cover didn't quite work | Amalthia | Conversion | 13 | 11-17-2020 01:39 AM |
Why didn't this regex work right? | mrmikel | Editor | 1 | 04-12-2014 10:04 AM |
Touch Updated to 2.8.1, now SD card didn't work | VirgoGirl | Kobo Reader | 36 | 09-13-2013 07:49 AM |
Troubleshooting Help,My kindle didn't work. Please | feiyangw | Amazon Kindle | 4 | 12-23-2011 04:49 AM |
PRS-600 Power Management Didn't Work | Coreman | Sony Reader | 9 | 10-12-2009 06:58 AM |