rutor: go magnet only. resolves #13848

This commit is contained in:
Garfield69
2023-01-07 10:54:54 +13:00
parent 9eb5d0de3f
commit df515dc38a

View File

@@ -74,7 +74,7 @@ search:
- path: "{{ if .Query.IMDBID }}search/0/0/010/{{ .Config.sort }}/{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if .Keywords }}search/0/0/100/{{ .Config.sort }}/{{ .Keywords }}/{{ else }}{{ end }}{{ if or .Keywords .Query.IMDBID }}{{ else }}top/{{ end }}" - path: "{{ if .Query.IMDBID }}search/0/0/010/{{ .Config.sort }}/{{ .Query.IMDBID }}{{ else }}{{ end }}{{ if .Keywords }}search/0/0/100/{{ .Config.sort }}/{{ .Keywords }}/{{ else }}{{ end }}{{ if or .Keywords .Query.IMDBID }}{{ else }}top/{{ end }}"
rows: rows:
selector: tr:has(td:has(a.downgif)) selector: tr:has(td:has(a[href^="magnet:?xt="]))
fields: fields:
category: category:
@@ -102,11 +102,7 @@ search:
details: details:
selector: td:nth-of-type(2) a[href^="/torrent/"] selector: td:nth-of-type(2) a[href^="/torrent/"]
attribute: href attribute: href
download:
selector: td:nth-of-type(2) a.downgif
attribute: href
magnet: magnet:
optional: true
selector: td:nth-of-type(2) a[href^="magnet:?xt="] selector: td:nth-of-type(2) a[href^="magnet:?xt="]
attribute: href attribute: href
date: date: