|
|
@ -78,7 +78,7 @@ func main() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
story, err := story.New(result.Name, result.Author, result.Category, false, false, tags, publishDate, fictionalDate) |
|
|
|
story, err := story.New(result.Name, result.Author[5:], result.Category, false, false, tags, publishDate, fictionalDate) |
|
|
|
if err != nil { |
|
|
|
log.Fatalln(err) |
|
|
|
} |
|
|
@ -96,7 +96,7 @@ func main() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
chapter, err := story.AddChapter(title, result.Author, result.Source, publishDate, fictionalDate) |
|
|
|
chapter, err := story.AddChapter(title, result.Author[5:], result.Source, publishDate, fictionalDate) |
|
|
|
if err != nil { |
|
|
|
log.Fatalln(err) |
|
|
|
} |
|
|
|