aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrtz12 <koenig@fagott.pw>2016-03-29 18:34:05 (UTC)
committerrtz12 <koenig@fagott.pw>2016-03-29 18:34:05 (UTC)
commit5e34104d93fdbd35d5937816bbb8d45223087043 (patch)
treeab4020eac150fa44fc804b50f3e783a1aaee7d97
parent57c4e2a845475c4e5927bda6f07f9a5d26fb5279 (diff)
Die Spastis haben irgendwas geaendert, leck mich doch...
-rw-r--r--tools/charcrawler/crawler/acd.go2
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")