Created
April 26, 2018 01:49
-
-
Save GitHub30/8e2f086b185ccf669111095b1b6f90e2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
from os import system | |
from time import sleep | |
from requests_html import HTMLSession | |
url = 'http://releases.ubuntu.com/18.04/' | |
print(url) | |
while True: | |
if HTMLSession().get(url).html.find('title', first=True).text != 'Ubuntu 18.04 LTS (Bionic Beaver) Beta 2': | |
system('notify-send "Ubuntu 18.04 released"') | |
sleep(10) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment