diff options
author | Rob Austein <sra@hactrn.net> | 2016-12-23 14:23:16 -0500 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-12-23 14:23:16 -0500 |
commit | 34ecad1d04c6b3add8077315bac1f954002fb7da (patch) | |
tree | a9bd21f2b1c034e91a577f2fff1d14c002358b9e /https-what-repos.py | |
parent | 9ebba5607f2e09c96eb88248499973ca3f3e1005 (diff) |
Trac markup changed, update kludgy screen scraping code to match.
Diffstat (limited to 'https-what-repos.py')
-rwxr-xr-x | https-what-repos.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/https-what-repos.py b/https-what-repos.py index 5b66f19..eec3e39 100755 --- a/https-what-repos.py +++ b/https-what-repos.py @@ -9,6 +9,6 @@ from xml.etree.ElementTree import ElementTree url = "https://wiki.cryptech.is/wiki/GitRepositories" -for x in ElementTree(file = urlopen(url)).iter("{http://www.w3.org/1999/xhtml}tt"): +for x in ElementTree(file = urlopen(url)).iter("{http://www.w3.org/1999/xhtml}code"): if x.text.startswith("https://git.cryptech.is/") and x.text.endswith(".git"): print x.text |