Skip to content

Instantly share code, notes, and snippets.

@sehra
sehra / nightly.py
Last active February 21, 2026 10:45
libreelec nightly
#!/usr/bin/env python
from urllib.request import urlopen, urlretrieve
from xml.dom.minidom import parseString as parse
url = "https://test.libreelec.tv/13.0/Generic/Generic/"
doc = parse(urlopen(url).read().decode('utf-8'))
tag = doc.getElementsByTagName('table')[0] \
.getElementsByTagName('tbody')[0] \
.getElementsByTagName('tr')[-1] \