Fixing selector
This commit is contained in:
parent
cbf71c9123
commit
79483b3995
@ -43,7 +43,7 @@ func (tripadvisor) index(doc *goquery.Document) (string, []string) {
|
|||||||
})
|
})
|
||||||
|
|
||||||
var nextIndexUrl string
|
var nextIndexUrl string
|
||||||
if href, ok := doc.Find("#EATERY_LIST_CONTENTS > div.deckTools.btm > div > a").Attr("href"); ok {
|
if href, ok := doc.Find("div.deckTools.btm a.nav.next.rndBtn.rndBtnGreen.taLnk").Attr("href"); ok {
|
||||||
nextIndexUrl = href
|
nextIndexUrl = href
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user