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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -69,7 +69,8 @@
args: "&dn={{ .Result.magfile }}.torrent"
- 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"
category|optional:
category:
optional: true
selector: div > span:nth-child(1) > span
date:
selector: div > span:nth-child(4)
@ -85,4 +86,4 @@
downloadvolumefactor:
text: "0"
uploadvolumefactor:
text: "1"
text: "1"

View File

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