def Collecturl(self): allloadpage = self.openpage() finalpage = BeautifulSoup(allloadpage, 'html.parser') joburllist = [] jobbaseurl = 'https://iupui-pset-csm.symplicity.com/students/index.php' joburlfind = finalpage.fina_all("a", class_="act") for alljob in joburlfind: href = alljob.get('href') joburllist.append(jobbaseurl+href) return joburllist