Compare commits
1 Commits
67a3552747
...
eggwatch
Author | SHA1 | Date | |
---|---|---|---|
e8de488d2b |
@@ -105,7 +105,7 @@ func (c Config) Search(ctx context.Context, b extractor.Browser, query string) (
|
||||
return fmt.Errorf("failed to get link: %w", err)
|
||||
}
|
||||
|
||||
titles := n.Select("div:nth-child(2) > div:nth-child(1) > div:nth-child(2) > p:nth-child(1)")
|
||||
titles := n.Select("h2")
|
||||
|
||||
if len(titles) != 0 {
|
||||
r.Title, _ = titles[0].Text()
|
||||
|
Reference in New Issue
Block a user