def get_latest_flexget_version_number():
 try:
  page = requests.get(u'http://download.flexget.com/latestversion')
 except requests.RequestException:
  return
 ver = page.text.strip()
 return ver

def get_latest_flexget_version_number ( ) : try : page = requests . get ( u'http://download.flexget.com/latestversion' ) except requests . RequestException : return ver = page . text . strip ( ) return ver
return latest flexget version from URL .