Small refactor for getFeedUrl