1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-10 06:03:09 +00:00

yggtorrent & yggcookie: switch to unix date and other misc updates (#14644)

This commit is contained in:
U̙̫͊̅̊̚͢͜n̨̤̙̰̠̜ͨ̐ḭ̵̴̜̲̖͂̾c̡͕̮ͤ̍̌̃͛o̱̳͙̹͓̽͝ͅḓ̜̠̺̌ͮ͛͆e̦̬̤̰̦̙̔͞ A̧͚͈̙̾̂́͛p̢̨̩̣̬̙̆ͣǫ̣͚͕̩̊́̽ç͈̭̐̇ͫ͗͜ả̛̪̖̜̗̉̂ḽ̶̼̟̮̜̽ͅÿ̵̢̜̟͙́̋̍p̮̮̭̘͚ͦ̇͛s̡̤̫̺͔̅́͜ȩ̢̥̱̤̀̓̓ 2023-08-18 22:05:09 +02:00 committed by GitHub
parent 35a68f51a9
commit cbbaedc8ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 58 deletions

View file

@ -435,34 +435,12 @@ search:
selector: td:nth-child(2) > a
attribute: href
category:
selector: ":nth-child(1) > div.hidden"
selector: td:nth-child(1) > div.hidden
download:
text: "{{ .Config.sitelink }}engine/download_torrent?id={{ .Result._id }}"
date:
selector: td:nth-child(5)
filters:
- name: replace
args: ["il y a ", ""]
- name: replace
args: [" jours", " days"]
- name: replace
args: [" jour", " day"]
- name: replace
args: [" heures", " hours"]
- name: replace
args: [" heure", " hour"]
- name: replace
args: [" semaines", " weeks"]
- name: replace
args: [" semaine", " week"]
- name: replace
args: [" mois", " month"]
- name: replace
args: [" ans", " years"]
- name: replace
args: [" an", " year"]
- name: append
args: " ago"
# unix
td:nth-child(5) > div.hidden
size:
selector: td:nth-child(6)
filters:
@ -472,12 +450,8 @@ search:
selector: td:nth-child(7)
seeders:
selector: td:nth-child(8)
optional: true
default: 0
leechers:
selector: td:nth-child(9)
optional: true
default: 0
downloadvolumefactor:
text: 1
uploadvolumefactor:

View file

@ -439,34 +439,12 @@ search:
selector: td:nth-child(2) > a
attribute: href
category:
selector: ":nth-child(1) > div.hidden"
selector: td:nth-child(1) > div.hidden
download:
text: "{{ .Config.sitelink }}engine/download_torrent?id={{ .Result._id }}"
date:
selector: td:nth-child(5)
filters:
- name: replace
args: ["il y a ", ""]
- name: replace
args: [" jours", " days"]
- name: replace
args: [" jour", " day"]
- name: replace
args: [" heures", " hours"]
- name: replace
args: [" heure", " hour"]
- name: replace
args: [" semaines", " weeks"]
- name: replace
args: [" semaine", " week"]
- name: replace
args: [" mois", " month"]
- name: replace
args: [" ans", " years"]
- name: replace
args: [" an", " year"]
- name: append
args: " ago"
# unix
selector: td:nth-child(5) > div.hidden
size:
selector: td:nth-child(6)
filters:
@ -476,12 +454,8 @@ search:
selector: td:nth-child(7)
seeders:
selector: td:nth-child(8)
optional: true
default: 0
leechers:
selector: td:nth-child(9)
optional: true
default: 0
downloadvolumefactor:
text: 1
uploadvolumefactor: