Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorComment ¶
type AuthorComment struct {
Comment string `goquery:"#footer_plus"`
}
func GetAuthorComment ¶
func GetAuthorComment(id int) (AuthorComment, error)
type Comment ¶
type Comment struct {
Id int `json:"comment_idx"`
UserName string `json:"user_name"`
RegDate string `json:"comment_regdate"`
Message string `json:"comment_msg"`
ChildrenCount string `json:"comment_child_cnt"`
UserImage string `json:"user_img"`
Image string `json:"comment_img"`
Upvotes int `json:"comment_vote"`
Downvotes int `json:"comment_bad"`
}
type Comments ¶
func GetComments ¶
type Novel ¶
type Novel struct {
Title string `goquery:".epnew-novel-title"`
Cover string `goquery:".cover_img,[src]"`
CoverFull string `goquery:".venobox:has(.cover_img),[href]"`
Author string `goquery:".in-writer .writer-name"`
Synopsis string `goquery:".epnew-novel-info .synopsis"`
Tags []string `goquery:".epnew-novel-info .writer-tag > .tag"`
}
Click to show internal directories.
Click to hide internal directories.