Definitions: replace deprecated optional (#1827)

* bithumen: replace deprecated use of optional

* bitspyder: replace deprecated use of optional

* chdbits: replace deprecated use of optional

* diablotorrent: replace deprecated use of optional

* eztv: replace deprecated use of optional

* funkytorrents: replace deprecated use of optional

* hon3yhd: replace deprecated use of optional

* insanetracker: replace deprecated use of optional

* kapaki: replace deprecated use of optional

* limetorrents: replace deprecated use of optional

* linkomanija: replace deprecated use of optional

* losslessclub: replace deprecated use of optional

* magico: replace deprecated use of optional

* majomparade: replace deprecated use of optional

* ourbits: replace deprecated use of optional

* polishsource: replace deprecated use of optional

* rodvd: replace deprecated use of optional

* torrentccf: replace deprecated use of optional

* torrenthr: replace deprecated use of optional

* torrentproject: replace deprecated use of optional

* torrentz2: replace deprecated use of optional

* oops

* Update bitspyder.yml

* Update insanetracker.yml

* Update kapaki.yml

* Update magico.yml

* Update polishsource.yml

* Update torrenthr.yml

* Update polishsource.yml
This commit is contained in:
garfield69
2017-09-15 18:14:46 +12:00
committed by kaso17
parent 4676972493
commit d9f57b4e13
21 changed files with 113 additions and 67 deletions

View File

@@ -1,4 +1,4 @@
--- ---
site: bithumen site: bithumen
name: BitHUmen name: BitHUmen
language: hu-hu language: hu-hu
@@ -72,7 +72,8 @@
attribute: href attribute: href
title: title:
selector: a[href^="details.php?id="] selector: a[href^="details.php?id="]
title|optional: title:
optional: true
selector: a[href^="details.php?id="] selector: a[href^="details.php?id="]
attribute: title attribute: title
details: details:
@@ -108,14 +109,16 @@
selector: td:nth-child(6) > u selector: td:nth-child(6) > u
downloadvolumefactor: downloadvolumefactor:
text: "1" text: "1"
downloadvolumefactor|optional: downloadvolumefactor:
optional: true
selector: td:nth-child(6) > nobr > font:contains(" × ") selector: td:nth-child(6) > nobr > font:contains(" × ")
filters: filters:
- name: replace - name: replace
args: ["×", ""] args: ["×", ""]
uploadvolumefactor: uploadvolumefactor:
text: "1" text: "1"
uploadvolumefactor|optional: uploadvolumefactor:
optional: true
selector: td:nth-child(5) > nobr > font:contains(" × ") selector: td:nth-child(5) > nobr > font:contains(" × ")
filters: filters:
- name: replace - name: replace
@@ -131,4 +134,3 @@
description: description:
selector: td:nth-child(2) > div selector: td:nth-child(2) > div

View File

@@ -1,4 +1,4 @@
--- ---
site: bitspyder site: bitspyder
name: Bitspyder name: Bitspyder
language: en-us language: en-us
@@ -102,7 +102,8 @@
selector: td.rowcol:nth-last-child(3) selector: td.rowcol:nth-last-child(3)
leechers: leechers:
selector: td.rowcol:nth-last-child(2) selector: td.rowcol:nth-last-child(2)
date|optional|1: date:
optional: true
selector: font[color="5F5F5F"] selector: font[color="5F5F5F"]
filters: filters:
- name: split - name: split
@@ -113,7 +114,8 @@
args: " +00:00" args: " +00:00"
- name: dateparse - name: dateparse
args: "2006-01-02 15:04:05 -07:00" args: "2006-01-02 15:04:05 -07:00"
date|optional|2: date:
optional: true
selector: a[title^="Upploaded at"] selector: a[title^="Upploaded at"]
attribute: title attribute: title
filters: filters:
@@ -129,5 +131,6 @@
uploadvolumefactor: uploadvolumefactor:
case: case:
"*": "1" "*": "1"
description|optional: description:
optional: true
selector: font[color="#990000"] selector: font[color="#990000"]

View File

@@ -1,4 +1,4 @@
--- ---
site: chdbits site: chdbits
name: CHDBits name: CHDBits
description: "A general tracker" description: "A general tracker"
@@ -54,7 +54,8 @@
fields: fields:
title: title:
selector: a[href^="details.php?id="] selector: a[href^="details.php?id="]
title|optional: title:
optional: true
selector: a[title][href^="details.php?id="] selector: a[title][href^="details.php?id="]
attribute: title attribute: title
category: category:

View File

@@ -1,4 +1,4 @@
--- ---
site: diablotorrent site: diablotorrent
name: Diablo Torrent name: Diablo Torrent
language: hu-hu language: hu-hu
@@ -114,13 +114,15 @@
args: "2006-01-0215:04:05 -07:00" args: "2006-01-0215:04:05 -07:00"
size: size:
selector: div.box_size selector: div.box_size
banner|optional: banner:
optional: true
selector: a.cover_a selector: a.cover_a
attribute: title attribute: title
filters: filters:
- name: regexp - name: regexp
args: src='(.*?)' args: src='(.*?)'
imdb|optional: imdb:
optional: true
selector: a[href^="http://www.imdb.com/title/"] selector: a[href^="http://www.imdb.com/title/"]
attribute: href attribute: href
description: description:

View File

@@ -43,7 +43,8 @@
download: download:
selector: td:nth-child(3) a.magnet, td:nth-child(3) a selector: td:nth-child(3) a.magnet, td:nth-child(3) a
attribute: href attribute: href
size|optional: size:
optional: true
selector: td:nth-child(4) selector: td:nth-child(4)
date: date:
selector: td:nth-child(5) selector: td:nth-child(5)

View File

@@ -1,4 +1,4 @@
--- ---
site: funkytorrents site: funkytorrents
name: FunkyTorrents name: FunkyTorrents
language: en-us language: en-us
@@ -72,7 +72,8 @@
rows: rows:
selector: table.mainouter > tbody > tr > td.outer > table > tbody > tr.mouse_out selector: table.mainouter > tbody > tr > td.outer > table > tbody > tr.mouse_out
fields: fields:
description|optional: description:
optional: true
selector: td:nth-child(2) > font selector: td:nth-child(2) > font
title: title:
selector: td:nth-child(2) selector: td:nth-child(2)
@@ -83,7 +84,8 @@
filters: filters:
- name: querystring - name: querystring
args: cat args: cat
category|optional: category:
optional: true
case: case:
a[href="/browse.php?ext=1&bitrate=Lossless"]: "3040" a[href="/browse.php?ext=1&bitrate=Lossless"]: "3040"
a[href="/browse.php?ext=1&format=MP3"]: "3010" a[href="/browse.php?ext=1&format=MP3"]: "3010"
@@ -116,4 +118,4 @@
"*": "1" "*": "1"
uploadvolumefactor: uploadvolumefactor:
case: case:
"*": "1" "*": "1"

View File

@@ -1,4 +1,4 @@
--- ---
site: hon3yhd site: hon3yhd
name: Hon3y HD name: Hon3y HD
language: en-us language: en-us
@@ -88,7 +88,8 @@
download: download:
selector: a[href^="download.php?torrent="] selector: a[href^="download.php?torrent="]
attribute: href attribute: href
banner|optional: banner:
optional: true
selector: a[href^="details.php?id="] selector: a[href^="details.php?id="]
attribute: onmouseover attribute: onmouseover
filters: filters:

View File

@@ -1,4 +1,4 @@
--- ---
site: insanetracker site: insanetracker
name: Insane Tracker name: Insane Tracker
language: hu-hu language: hu-hu
@@ -80,13 +80,16 @@
download: download:
selector: a[href^="download.php/"] selector: a[href^="download.php/"]
attribute: href attribute: href
imdb|optional: imdb:
optional: true
selector: a[title="IMDb link"] selector: a[title="IMDb link"]
attribute: href attribute: href
banner|optional|1: banner:
optional: true
selector: img[alt="offer"] selector: img[alt="offer"]
attribute: src attribute: src
banner|optional|2: banner:
optional: true
selector: a.cover selector: a.cover
attribute: href attribute: href
files: files:

View File

@@ -1,4 +1,4 @@
--- ---
site: kapaki site: kapaki
name: Kapaki name: Kapaki
language: el-gr language: el-gr
@@ -108,7 +108,8 @@
selector: a[rel="torrent_leechers"] selector: a[rel="torrent_leechers"]
grabs: grabs:
selector: a[rel="times_completed"] selector: a[rel="times_completed"]
banner|optional: banner:
optional: true
selector: a[rel="fancybox"] selector: a[rel="fancybox"]
attribute: href attribute: href
description: description:
@@ -120,10 +121,12 @@
uploadvolumefactor: uploadvolumefactor:
case: case:
"*": "1" "*": "1"
date|optional|1: date:
optional: true
selector: div.torrentOwner > abbr.timeago selector: div.torrentOwner > abbr.timeago
attribute: data-time attribute: data-time
date|optional|2: date:
optional: true
selector: div.torrentOwner:not(:has(abbr.timeago)) selector: div.torrentOwner:not(:has(abbr.timeago))
remove: span remove: span
filters: filters:
@@ -156,4 +159,4 @@
- name: dateparse - name: dateparse
args: "02-01-2006 15:04" args: "02-01-2006 15:04"

View File

@@ -57,7 +57,8 @@
download: download:
selector: div.tt-name > a[href^="/"] selector: div.tt-name > a[href^="/"]
attribute: href attribute: href
category|optional: category:
optional: true
selector: td:nth-child(2) selector: td:nth-child(2)
filters: filters:
- name: split - name: split

View File

@@ -1,4 +1,4 @@
--- ---
site: linkomanija site: linkomanija
name: LinkoManija name: LinkoManija
language: lt-lt language: lt-lt
@@ -72,7 +72,8 @@
attribute: href attribute: href
title: title:
selector: a[href^="details?"] selector: a[href^="details?"]
description|optional: description:
optional: true
selector: td:nth-child(2) > span selector: td:nth-child(2) > span
details: details:
selector: a[href^="details?"] selector: a[href^="details?"]
@@ -108,4 +109,4 @@
- name: dateparse - name: dateparse
args: "2006-01-0215:04:05 -07:00" args: "2006-01-0215:04:05 -07:00"

View File

@@ -1,4 +1,4 @@
--- ---
site: losslessclub site: losslessclub
name: LosslessClub name: LosslessClub
language: ru-ru language: ru-ru
@@ -45,12 +45,14 @@
download: download:
selector: a[href^="download.php?id="] selector: a[href^="download.php?id="]
attribute: href attribute: href
banner|optional: banner:
optional: true
selector: img.thumbnail selector: img.thumbnail
attribute: src attribute: src
size: size:
selector: td:nth-child(5) selector: td:nth-child(5)
grabs|optional: grabs:
optional: true
selector: td:nth-child(6) br + span selector: td:nth-child(6) br + span
seeders: seeders:
selector: td:nth-child(6) selector: td:nth-child(6)

View File

@@ -1,4 +1,4 @@
--- ---
site: magico site: magico
name: Magico name: Magico
language: el-gr language: el-gr
@@ -165,7 +165,8 @@
selector: a[rel="torrent_leechers"] selector: a[rel="torrent_leechers"]
grabs: grabs:
selector: a[rel="times_completed"] selector: a[rel="times_completed"]
banner|optional: banner:
optional: true
selector: a[rel="fancybox"] selector: a[rel="fancybox"]
attribute: href attribute: href
description: description:
@@ -177,10 +178,12 @@
uploadvolumefactor: uploadvolumefactor:
case: case:
"*": "1" "*": "1"
date|optional|1: date:
optional: true
selector: div.torrentOwner > abbr.timeago selector: div.torrentOwner > abbr.timeago
attribute: data-time attribute: data-time
date|optional|2: date:
optional: true
selector: div.torrentOwner:not(:has(abbr.timeago)) selector: div.torrentOwner:not(:has(abbr.timeago))
remove: span remove: span
filters: filters:
@@ -213,4 +216,4 @@
- name: dateparse - name: dateparse
args: "02-01-2006 15:04" args: "02-01-2006 15:04"

View File

@@ -1,4 +1,4 @@
--- ---
site: majomparade site: majomparade
name: Majomparádé name: Majomparádé
language: hu-hu language: hu-hu
@@ -115,10 +115,12 @@
details: details:
selector: a[href^="details.php?id="] selector: a[href^="details.php?id="]
attribute: href attribute: href
imdb|optional: imdb:
optional: true
selector: a[href^="https://www.imdb.com/title/"] selector: a[href^="https://www.imdb.com/title/"]
attribute: href attribute: href
banner|optional: banner:
optional: true
selector: img[src="pic/borito.png"] selector: img[src="pic/borito.png"]
attribute: title attribute: title
filters: filters:

View File

@@ -1,4 +1,4 @@
--- ---
site: ourbits site: ourbits
name: Ourbits name: Ourbits
language: zh-cn language: zh-cn
@@ -56,7 +56,8 @@
fields: fields:
title: title:
selector: a[href^="details.php?id="] selector: a[href^="details.php?id="]
title|optional: title:
optional: true
selector: a[title][href^="details.php?id="] selector: a[title][href^="details.php?id="]
attribute: title attribute: title
category: category:
@@ -71,7 +72,8 @@
download: download:
selector: a[href^="download.php?id="] selector: a[href^="download.php?id="]
attribute: href attribute: href
imdb|optional: imdb:
optional: true
selector: div.imdb_100 > a selector: div.imdb_100 > a
attribute: href attribute: href
size: size:

View File

@@ -1,4 +1,4 @@
--- ---
site: polishsource site: polishsource
name: PolishSource name: PolishSource
language: pl-pl language: pl-pl
@@ -72,24 +72,32 @@
download: download:
selector: a[href^="downloadssl.php?id="] selector: a[href^="downloadssl.php?id="]
attribute: href attribute: href
description|optional: description:
optional: true
selector: td:nth-child(2) > small selector: td:nth-child(2) > small
filters: filters:
- name: prepend - name: prepend
args: "Genre: " args: "Genre: "
- name: append - name: append
args: "\n<br>" args: "\n<br>"
description|optional|append|1: description:
optional: true
selector: img[src="pic/pl.png"] selector: img[src="pic/pl.png"]
filters: filters:
- name: append - name: append
args: "Language: polish\n<br>" args: "Language: polish\n<br>"
description|optional|append|2: - name: prepend
args: {{ .Result.description }}
description:
optional: true
selector: img[src="pic/napisy.png"] selector: img[src="pic/napisy.png"]
filters: filters:
- name: append - name: append
args: "Subbed\n<br>" args: "Subbed\n<br>"
imdb|optional: - name: prepend
args: {{ .Result.description }}
imdb:
optional: true
selector: a[href^="http://www.imdb.com/title/tt"] selector: a[href^="http://www.imdb.com/title/tt"]
grabs: grabs:
selector: td:nth-child(6) selector: td:nth-child(6)

View File

@@ -1,4 +1,4 @@
--- ---
site: rodvd site: rodvd
name: RoDVD name: RoDVD
language: ro-ro language: ro-ro
@@ -98,7 +98,8 @@
download: download:
selector: a[href^="download.php"] selector: a[href^="download.php"]
attribute: href attribute: href
imdb|optional: imdb:
optional: true
selector: a[href*="http://www.imdb.com/title/tt"] selector: a[href*="http://www.imdb.com/title/tt"]
attribute: href attribute: href
size: size:

View File

@@ -1,4 +1,4 @@
--- ---
site: torrentccf site: torrentccf
name: TorrentCCF name: TorrentCCF
language: zh-cn language: zh-cn
@@ -65,7 +65,8 @@
fields: fields:
title: title:
selector: a[href^="details.php?id="] selector: a[href^="details.php?id="]
title|optional: title:
optional: true
selector: a[title][href^="details.php?id="] selector: a[title][href^="details.php?id="]
attribute: title attribute: title
category: category:
@@ -80,7 +81,8 @@
download: download:
selector: a[href^="download.php?id="] selector: a[href^="download.php?id="]
attribute: href attribute: href
imdb|optional: imdb:
optional: true
selector: div.imdb_100 > a selector: div.imdb_100 > a
attribute: href attribute: href
size: size:

View File

@@ -1,4 +1,4 @@
--- ---
site: torrenthr site: torrenthr
name: TorrentHR name: TorrentHR
language: hr-hr language: hr-hr
@@ -64,10 +64,12 @@
fields: fields:
title: title:
selector: a[href^="details.php?id="] selector: a[href^="details.php?id="]
title|optional|1: title:
optional: true
selector: a[href^="details.php?id="][title] selector: a[href^="details.php?id="][title]
attribute: title attribute: title
title|optional|2: title:
optional: true
selector: a[href^="details.php?id="][onmousemove] selector: a[href^="details.php?id="][onmousemove]
attribute: onmousemove attribute: onmousemove
filters: filters:
@@ -105,7 +107,8 @@
selector: td:nth-child(9) selector: td:nth-child(9)
leechers: leechers:
selector: td:nth-child(10) selector: td:nth-child(10)
banner|optional: banner:
optional: true
selector: a[href^="details.php?id="][onmousemove] selector: a[href^="details.php?id="][onmousemove]
attribute: onmousemove attribute: onmousemove
filters: filters:
@@ -124,6 +127,7 @@
args: " +00:00" args: " +00:00"
- name: dateparse - name: dateparse
args: "02.01.2006 15:04:05 -07:00" args: "02.01.2006 15:04:05 -07:00"
description|optional: description:
optional: true
selector: td:nth-child(2) selector: td:nth-child(2)
remove: a, br, small remove: a, br, small

View File

@@ -69,7 +69,8 @@
args: "&dn={{ .Result.magfile }}.torrent" args: "&dn={{ .Result.magfile }}.torrent"
- name: append - name: append
args: "&tr=http://182.176.139.129:6969/announce&tr=http://explodie.org:6969/announce&tr=http://tracker.mgtracker.org:2710/announce&tr=udp://tracker.coppersurfer.tk:6969/announce&tr=udp://tracker.leechers-paradise.org:6969/announce&tr=udp://tracker.pirateparty.gr:6969/announce&tr=udp://tracker.sktorrent.net:6969/announce&tr=udp://tracker.zer0day.to:1337/announce" args: "&tr=http://182.176.139.129:6969/announce&tr=http://explodie.org:6969/announce&tr=http://tracker.mgtracker.org:2710/announce&tr=udp://tracker.coppersurfer.tk:6969/announce&tr=udp://tracker.leechers-paradise.org:6969/announce&tr=udp://tracker.pirateparty.gr:6969/announce&tr=udp://tracker.sktorrent.net:6969/announce&tr=udp://tracker.zer0day.to:1337/announce"
category|optional: category:
optional: true
selector: div > span:nth-child(1) > span selector: div > span:nth-child(1) > span
date: date:
selector: div > span:nth-child(4) selector: div > span:nth-child(4)
@@ -85,4 +86,4 @@
downloadvolumefactor: downloadvolumefactor:
text: "0" text: "0"
uploadvolumefactor: uploadvolumefactor:
text: "1" text: "1"

View File

@@ -78,7 +78,8 @@
args: "magnet:?xt=urn:btih:" args: "magnet:?xt=urn:btih:"
- name: append - name: append
args: "&dn={{ .Result.title }}.torrent" args: "&dn={{ .Result.title }}.torrent"
category|optional: category:
optional: true
selector: dt selector: dt
remove: a remove: a
filters: filters: