mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
retrieve the final url after potential http 30x redirect
This commit is contained in:
@@ -235,7 +235,7 @@ public class FeedREST extends AbstractREST {
|
||||
try {
|
||||
FetchedFeed feed = feedFetcher.fetch(url, true, null, null, null, null);
|
||||
info = new FeedInfo();
|
||||
info.setUrl(feed.getFeed().getUrl());
|
||||
info.setUrl(feed.getUrlAfterRedirect());
|
||||
info.setTitle(feed.getTitle());
|
||||
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user