Skip to content

Instantly share code, notes, and snippets.

View cpulvermacher's full-sized avatar

Christian Pulvermacher cpulvermacher

View GitHub Profile
@cpulvermacher
cpulvermacher / find-https-debian-archives.py
Created April 25, 2017 14:35 — 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 = []