Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
use more specific forum post selector
  • Loading branch information
ccbrown committed Apr 16, 2020
commit d92112f2c424b57a522270ddfa854a874894aaea
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