Skip to content

Commit

Permalink
Use https protocol.
Browse files Browse the repository at this point in the history
Arch Linux websites have been switched to HTTPS only.
  • Loading branch information
Bartłomiej Piotrowski committed Nov 18, 2012
1 parent a51034d commit 8e4f885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgcl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def get_pkg_info(pkg)
# I need to get the correct git url from here, since some packages use a
# different tracking repo (e.g. linux-headers => linux)
# I'm also getting the last updated date from this url
uri = "http://www.archlinux.org/packages/#{pkg[:repo]}/#{pkg[:arch]}/#{pkg[:name]}"
uri = "https://www.archlinux.org/packages/#{pkg[:repo]}/#{pkg[:arch]}/#{pkg[:name]}"
doc = Nokogiri::HTML(open(uri))

u_date = doc.at_xpath('.//th[text()="Last Updated:"]').parent.children[2].content
Expand Down

0 comments on commit 8e4f885

Please sign in to comment.