def getPost(self, url): soup = BeautifulSoup(self.scraper.get(url).text, 'html.parser') title = soup.find('div', {'class':'notifierbar'}).text links = soup.find('table', {'id':'download_table'}).findAll('a') quality = source_utils.get_quality_simple(title) info = source_utils.get_info_simple(title) for link in links: valid, host = source_utils.checkHost(link['href'], self.validHosts) if valid: self.sourceList.append( {'source': host, 'quality': quality, 'language': 'en', 'url': link['href'], 'info': info, 'direct': False, 'debridonly': True})