1

Fixing selector

This commit is contained in:
Alex Yatskov 2015-08-17 16:29:36 +09:00
parent cbf71c9123
commit 79483b3995

View File

@ -43,7 +43,7 @@ func (tripadvisor) index(doc *goquery.Document) (string, []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
}