def __init__(self, path, hkey, auth=None, media=True, hostNum=None): QThread.__init__(self) self.path = path self.hkey = hkey self.auth = auth self.media = media self.hostNum = hostNum self._abort = 0 # 1=flagged, 2=aborting
def __init__(self, language): QThread.__init__(self) self.selLang = language self.term = False self.langShortCut = languages[self.selLang] self.GOOGLE_SEARCH_URL = "https://forvo.com/word/◳t/#" + self.langShortCut #◳r self.session = requests.session() self.session.headers.update({ "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:10.0) \ Gecko/20100101 Firefox/10.0" })
def __init__(self, manager, paths): QThread.__init__(self) self.manager = manager self.paths = paths self.index_builders = list()
def __init__(self): QThread.__init__(self) self.GOOGLE_SEARCH_URL = "https://www.google.com/search" self.term = False self.initSession()
def __init__(self, code): QThread.__init__(self) self.code = code self.error = None
def __init__(self, mw): self.mw = mw QThread.__init__(self) self.server = MigakuHTTPServer(self, mw) self.start()
def __init__(self, main): QThread.__init__(self) self.main = main self.config = main.pm.meta
def __init__(self, lemma_query, query_kargs): QThread.__init__(self) self.lemma_query = lemma_query self.query_kargs = query_kargs