from bs4 import BeautifulSoup
from abc import ABC
from driver.selenium_driver import Driver
from bet.Bet import Bet
from database import *
import Levenshtein as lev
import time
from datetime import datetime, timedelta

class House(ABC):
    def __init__(self, headless):
        self.driver = Driver(headless=headless)
        self.alive = True
    def __del__(self):
        if self.alive:
            self.end()
    def house(self):
        pass
    def link_sport(self, sport):
        pass
    def sport_bets(self, sport):
        pass
    def real_names(self):
        pass
    def end(self):
        self.driver.close()
        self.driver.quit()
        self.alive = False