INNER CODE UNIT · Python

url

junyanz/CatPapers · compile_cat_papers.py:64

                url = author_r[pos_id + 1 :]
            else:
                author = author_r
            self.authors.append(author)
            self.author_urls.append(url)

        author_name = self.authors[0]  # get teaser name
        last_name = author_name.split(" ")[-1]
        if not self.teaser:
            self.teaser = "%s%d.jpg" % (last_name, self.year)
        else:
            print("specify the teaser name")
            print(self.teaser)

    def __str__(self):
        tmp = "[Title]: %s\n" % self.title
        tmp += "[Year]: %d\n" % self.year
        tmp += "[Paper]: %s\n" % self.paper

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…