def on_link_clicked(self): self.a = self.linkEdit.displayText() self.service2 = self.service.currentIndex() self.service2 = int(self.service2) download_mango2(self.a, self.path2, self.service2)
def rss_feed(link, path): a = feedparser.parse(link) for b in a.entries: download_mango2(b['link'], path, 'MangaFox')