Skip to content

Commit

Permalink
use more specific forum post selector (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccbrown authored Apr 16, 2020
1 parent 68e0820 commit e1bfd9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/forum_indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func ScrapeForumPosts(doc *goquery.Document, timezone *time.Location) ([]*ForumP

err := error(nil)

doc.Find(".forumPostListTable tr").EachWithBreak(func(i int, sel *goquery.Selection) bool {
doc.Find(".forumPostListTable > tbody > tr").EachWithBreak(func(i int, sel *goquery.Selection) bool {
post := &ForumPost{
Poster: sel.Find(".post_by_account").Text(),
}
Expand Down

0 comments on commit e1bfd9d

Please sign in to comment.