Commits
3 3 | import os |
4 4 | import argparse |
5 5 | import urllib |
6 6 | import urllib2 |
7 7 | from HTMLParser import HTMLParser |
8 8 | from subprocess import check_output |
9 9 | import platform |
10 10 | |
11 11 | |
12 12 | # Supported operating system versions |
13 - | |
14 13 | osVersions = ["el6", "el7", "osx1011", "osx1012"] |
15 14 | script_dir = os.path.dirname(os.path.realpath(__file__)) |
16 15 | |
17 16 | |
18 17 | class MyHTMLParser(HTMLParser): |
19 18 | |
20 19 | links = [] |
21 20 | |
22 21 | def handle_starttag(self, tag, attrs): |
23 22 | # Only parse the 'anchor' tag. |