def smithbr():
 try:
  show_list = requests.get('https://raw.github.com/svendahlstrand/couchpotato/master/shows.json').json()
  random_show = random.randint(0, len(show_list))
  print ('Do you have %s of free time today? Check out an episode of %s!' % (show_list[random_show]['run time'], show_list[random_show]['title'].split(' (')[0]))
 except Exception as e:
  print ('Something went wrong. %s' % str(e))

def smithbr ( ) : try : show_list = requests . get ( 'https://raw.github.com/svendahlstrand/couchpotato/master/shows.json' ) . json ( ) random_show = random . randint ( 0 , len ( show_list ) ) print ( 'Do you have %s of free time today? Check out an episode of %s!' % ( show_list [ random_show ] [ 'run time' ] , show_list [ random_show ] [ 'title' ] . split ( ' (' ) [ 0 ] ) ) except Exception as e : print ( 'Something went wrong. %s' % str ( e ) )
suggests a new tv show to watch .