def new_unfollow(self, user_id, user_name):
 url_unfollow = (self.url_unfollow % user_id)
 try:
  unfollow = self.s.post(url_unfollow)
  if (unfollow.status_code == 200):
   self.unfollow_counter += 1
   log_string = ('Unfollow: %s #%i.' % (user_name, self.unfollow_counter))
   self.write_log(log_string)
  return unfollow
 except:
  self.write_log('Exept on unfollow!')
  return False

def new_unfollow ( self , user_id , user_name ) : url_unfollow = ( self . url_unfollow % user_id ) try : unfollow = self . s . post ( url_unfollow ) if ( unfollow . status_code == 200 ) : self . unfollow_counter += 1 log_string = ( 'Unfollow: %s #%i.' % ( user_name , self . unfollow_counter ) ) self . write_log ( log_string ) return unfollow except : self . write_log ( 'Exept on unfollow!' ) return False
send http request to unfollow .