code: def team_id(self,team):
          '''
          Get team ID using a real team name
          @return: id
          '''
          #UTF-8 comparison
          headers = {"Content-type": "application/x-www-form-urlencoded","Accept": "text/plain",'Referer': 'http://'+self.domain+'/',"User-Agent": user_agent}
          req = self.session.get('http://'+self.domain,headers=headers).content
          soup = BeautifulSoup(req)
          for i in soup.find('table',cellpadding=2).find_all('tr'):
              #Get teamid from the bets
              team1 = i.find('a')['title']
              team2 = i.find_all('a')[1]['title']
              if (team == team1):
                  return i.find('a')['href'].split('cid=')[1]
              elif (team == team2):
                  return i.find_all('a')[1]['href'].split('cid=')[1]
          return Nonf team_id(self,team):
          '''
          Get team ID using a real team name
          @return: id
          '''
          #UTF-8 comparison
          headers = {"Content-type": "application/x-www-form-urlencoded","Accept": "text/plain",'Referer': 'http://'+self.domain+'/',"User-Agent": user_agent}
          req = self.session.get('http://'+self.domain,headers=headers).content
          soup = BeautifulSoup(req)
          for i in soup.find('table',cellpadding=2).find_all('tr'):
              #Get teamid from the bets
              team1 = i.find('a')['title']
              team2 = i.find_all('a')[1]['title']
              if (team == team1):
                  return i.find('a')['href'].split('cid=')[1]
              elif (team == team2):
                  return i.find_all('a')[1]['href'].split('cid=')[1]
          return None
docs: Get team ID using a real team name
          @return: id