diff options
Diffstat (limited to 'src/rss.c')
-rw-r--r-- | src/rss.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -305,7 +305,7 @@ static int get_rss_url_from_episode_info(const char *episode_name, EpisodeInfo * /* TODO: Fix the remove() calls. They wont work since they are not recursive and the directories has files in them */ /* Same for add_html */ -int add_rss(const char *name, const char *url, char *rss_config_dir, const char *start_after) { +int add_rss(const char *name, char *url, char *rss_config_dir, const char *start_after) { int result = 0; char rss_url[4096]; @@ -328,6 +328,9 @@ int add_rss(const char *name, const char *url, char *rss_config_dir, const char goto cleanup; } + string_replace(url, '/', '_'); + start_after = strip(url); + url = rss_url; buffer_clear(&buffer); |