def standings(self):
        '''Get standings from the community's account'''
        headers = {"Content-type": "application/x-www-form-urlencoded","Accept": "text/plain","User-Agent": user_agent}
        req = self.session.get('http://'+self.domain+'/standings.phtml',headers=headers).content
        soup = BeautifulSoup(req)
        table = soup.find('table',{'id':'tablestandings'}).find_all('tr')
        clasificacion = []
        [clasificacion.append(('%s\t%s\t%s\t%s\t%s')%(tablas.find('td').text,tablas.find('div')['id'],tablas.a.text,tablas.find_all('td')[3].text,tablas.find_all('td')[4].text)) for tablas in table[1:]]
        return clasificacion
def standings ( self ) : headers = { "Content-type" : "application/x-www-form-urlencoded" , "Accept" : "text/plain" , "User-Agent" : user_agent } req = self . session . get ( 'http://' + self . domain + '/standings.phtml' , headers = headers ) . content soup = BeautifulSoup ( req ) table = soup . find ( 'table' , { 'id' : 'tablestandings' } ) . find_all ( 'tr' ) clasificacion = [ ] [ clasificacion . append ( ( '%s\t%s\t%s\t%s\t%s' ) % ( tablas . find ( 'td' ) . text , tablas . find ( 'div' ) [ 'id' ] , tablas . a . text , tablas . find_all ( 'td' ) [ 3 ] . text , tablas . find_all ( 'td' ) [ 4 ] . text ) ) for tablas in table [ 1 : ] ] return clasificacion
Get standings from the community's account