-
-
Save rmcintosh/924e5c19278ac1bbf8ea9c1e3b44c201 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib2 | |
from xml.dom.minidom import parse, parseString | |
xml = urllib2.urlopen('https://update.joomla.org/core/list.xml') | |
parse_xml = parse(xml) | |
get_version = parse_xml.getElementsByTagName('extension') | |
print(get_version[-1].attributes['version'].value) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment