Add author name and pixiv_id to tags

This commit is contained in:
Mirror 2021-02-22 22:04:11 +03:00
parent 1b5a30b990
commit acf352d459

View File

@ -52,6 +52,8 @@ func (p *Pixiv) downloadIllust(i Illust) (err error) {
art.tags = append(art.tags, tag.Tag)
}
}
art.tags = append(art.tags, i.UserName)
art.tags = append(art.tags, fmt.Sprintf("pixiv_id_%s", i.UserID))
for pageNumber, page := range i.Pages {
directory := fmt.Sprintf("%s/%s_%s/", p.WorkDirectory, i.UserID, i.UserAccount)