Skip to content

Commit

Permalink
upgrade go-realtime (gorilla/websockets), remove extra button, sort b…
Browse files Browse the repository at this point in the history
…y file path, fix search result links
  • Loading branch information
jpillora committed Oct 28, 2015
1 parent 2f8561b commit 2490230
Show file tree
Hide file tree
Showing 5 changed files with 122 additions and 162 deletions.
4 changes: 2 additions & 2 deletions server/server_search.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var defaultSearchConfig = []byte(`{
"list": "#mainSearchTable table tr[id]",
"result": {
"name":".cellMainLink",
"url":[".cellMainLink", "@href"],
"path":[".cellMainLink", "@href"],
"magnet": ["a[title=Torrent\\ magnet\\ link]", "@href"],
"size": "td.nobr.center",
"seeds": ".green.center",
Expand All @@ -22,7 +22,7 @@ var defaultSearchConfig = []byte(`{
"list": "#searchResult > tbody > tr",
"result": {
"name":"a.detLink",
"url":["a.detLink","@href"],
"path":["a.detLink","@href"],
"magnet": ["a[title=Download\\ this\\ torrent\\ using\\ magnet]","@href"],
"size": "/Size (\\d+(\\.\\d+).[KMG]iB)/",
"seeds": "td:nth-child(3)",
Expand Down
Loading

0 comments on commit 2490230

Please sign in to comment.