Skip to content

Instantly share code, notes, and snippets.

View xinomilo's full-sized avatar
💭
moved to framagit

xinomilo

💭
moved to framagit
View GitHub Profile
@xinomilo
xinomilo / find-https-debian-archives.py
Last active December 20, 2017 01:17 — 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('https://www.debian.org/mirror/list')
https = []