diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/charcrawler/crawler/acd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/charcrawler/crawler/acd.go b/tools/charcrawler/crawler/acd.go index 9a37b95..14f22a2 100644 --- a/tools/charcrawler/crawler/acd.go +++ b/tools/charcrawler/crawler/acd.go | |||
@@ -28,7 +28,7 @@ func (a ACDCrawler) Crawl(id int) (CharacterData, error) { | |||
28 | if strings.Contains(text, "Your IP has been blocked") { | 28 | if strings.Contains(text, "Your IP has been blocked") { |
29 | return nil, Banned | 29 | return nil, Banned |
30 | } | 30 | } |
31 | dataTr := doc.Find("#besttable").Next().ChildrenFiltered("tbody").ChildrenFiltered("tr") | 31 | dataTr := doc.Find("#profile").ChildrenFiltered("table").Eq(0).ChildrenFiltered("tbody").ChildrenFiltered("tr") |
32 | leftSide := dataTr.Children().Eq(0) | 32 | leftSide := dataTr.Children().Eq(0) |
33 | rightSide := dataTr.Children().Eq(1) | 33 | rightSide := dataTr.Children().Eq(1) |
34 | imageCols := rightSide.ChildrenFiltered("table").First().Find("tbody > tr > td") | 34 | imageCols := rightSide.ChildrenFiltered("table").First().Find("tbody > tr > td") |