def threadOutCount(self): for _endpoint in self.industry_url_list: t = threading.Thread(target = self.countMentionsInIndustryNews, args = (_endpoint,)) t.run() #self.thread_list.append(t) for _resp in self.article_list: target_text = BS(_resp.content).find("body").text self.mentions += target_text.count(self.subject)