Skip to content

Instantly share code, notes, and snippets.

View sciguy16's full-sized avatar

David Young sciguy16

View GitHub Profile
@sciguy16
sciguy16 / find-https-debian-archives.py
Last active September 20, 2017 10:41 — forked from eighthave/find-https-debian-archives.py
Script to find official Debian mirrors that support HTTPS
#!/usr/bin/python
import urllib2
import re
import ssl
import sys
# # find generic mirrors
mirrors = urllib2.urlopen('http://www.debian.org/mirror/list')
https = []