Skip to content
This repository has been archived by the owner on May 28, 2018. It is now read-only.

Commit

Permalink
use https feeds, as the http feeds redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Gyurgyik committed Jul 20, 2014
1 parent 31e2881 commit 2323796
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.py
Expand Up @@ -39,13 +39,13 @@ def format_pkg_name(pkg):
@app.route('/feed/<name>')
def fetch_feed(name):
if name == 'news':
rss_feed = 'http://www.archlinux.org/feeds/news/'
rss_feed = 'https://www.archlinux.org/feeds/news/'
cache_file = './cache/news'
elif name == 'pkgs_x64':
rss_feed = 'http://www.archlinux.org/feeds/packages/x86_64/'
rss_feed = 'https://www.archlinux.org/feeds/packages/x86_64/'
cache_file = './cache/pkgs_x64'
elif name == 'pkgs_x86':
rss_feed = 'http://www.archlinux.org/feeds/packages/i686/'
rss_feed = 'https://www.archlinux.org/feeds/packages/i686/'
cache_file = './cache/pkgs_x86'
else:
abort(404)
Expand Down

0 comments on commit 2323796

Please sign in to comment.