Misc parsing fixes (#1234)

This commit is contained in:
adamwinn
2017-04-04 13:36:06 -06:00
committed by kaso17
parent 4baac26e76
commit 27886b769a
6 changed files with 10 additions and 10 deletions

View File

@@ -62,7 +62,7 @@
3dformat: 0
active: 1
rows:
selector: table.lista > tbody > tr:has(a[href^="index.php?page=torrents&category="])
selector: table[cellspacing!="1"].lista > tbody > tr:has(a[href^="index.php?page=torrents&category="])
fields:
category:
selector: a[href^="index.php?page=torrents&category="]
@@ -86,8 +86,8 @@
selector: td:nth-last-child(4)
seeders:
selector: td:nth-last-child(3)
leechers:
selector: td:nth-last-child(2)
# leechers:
# selector: td:nth-last-child(2)
date:
selector: td:nth-last-child(5)
filters:

4
src/Jackett/Definitions/bitspyder.yml Normal file → Executable file
View File

@@ -94,10 +94,10 @@
files:
selector: a[href*="&filelist=1"]
grabs:
selector: td.rowcol:nth-child(7):contains("times"), font:contains("Snatches:")
selector: td.rowcol:nth-child(7):has(br)
filters:
- name: regexp
args: ([\d\,]+)
args: ([\d,]+)
seeders:
selector: td.rowcol:nth-last-child(3)
leechers:

View File

@@ -57,7 +57,7 @@
category:
text: 1
title:
selector: td:nth-child(2)
selector: td:nth-child(2) a
download:
selector: a[href^="details.php?id="]
attribute: href

View File

@@ -78,7 +78,7 @@
incldead: 1
search_by: "{{ if .Query.IMDBID }}imdb{{else}}name{{end}}"
rows:
selector: table[class!="ice"] > tbody > tr:has(a[title][href^="details.php?id="])
selector: table.torrenttable > tbody > tr:has(a[title][href^="details.php?id="])
fields:
title:
selector: a[title][href^="details.php?id="]

View File

@@ -73,7 +73,7 @@
settings: []
search:
path: "{{if .Query.Keywords}}search/{{ .Query.Keywords}}/0/99/0{{else}}/recent{{end}}"
path: "{{if .Query.Keywords}}search/{{ .Query.Keywords}}{{else}}{{end}}/0/99/{{range .Categories}}{{.}}{{end}}"
rows:
selector: "#searchResult tbody tr:has(td.vertTh)"
fields:

View File

@@ -119,7 +119,7 @@
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
q: "{{ .Query.Keywords }}"
rows:
selector: table#browsetable > tbody > tr:has(a)
selector: table#browsetable > tbody > tr:has(a[href^="/details.php?id="])
fields:
category:
selector: a[href^="/browse.php?q="]
@@ -155,7 +155,7 @@
selector: td:nth-child(5)
filters:
- name: dateparse
args: "27 March 2017"
args: "2 April 2017 +05:50"
downloadvolumefactor:
case:
"img[title=\"Free Torrent!\"]": "0"