Indexers: Update TorrentSeeds for new site (#57)

* feat: update regex

* feat: update download url

* feat: change passkey to rsskey
This commit is contained in:
GregTroar 2021-12-30 13:47:45 +01:00 committed by GitHub
parent 48155e5f82
commit f331aab6c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,12 +11,12 @@ protocol: torrent
supports:
- irc
- rss
source: custom
source: UNIT3D
settings:
- name: passkey
- name: rsskey
type: secret
label: Passkey
help: "Go to General / Get RSS / Check a category and click create your passkey is after torrent_pass="
label: Rss key
help: "Click on your nick / Go to Security / Copy the RID (RSS Key) and paste it here."
irc:
network: Torrentseeds.org
@ -50,7 +50,7 @@ parse:
lines:
- test:
- "New: This.Is.A.New.show.S00E00.720p.WEB.H264-Test .:. Category: TV/HD .:. Size: 364.82 MB .:. URL: https://www.torrentseeds.org/details.php?id=000000 .:. Uploaded by: George."
pattern: 'New: (.*) .:. Category: (.*) .:. Size: (.*) .:. URL: (https?\:\/\/[^\/]+)\/.*id=(\d+) .:. Uploaded by: (.*).'
pattern: 'New: (.*) \.:\. Category: (.*) \.:\. Size: (.*) \.:\. URL: (https?\:\/\/[^\/]+).*\/(\d{6,9}) \.:\. Uploaded by: (.*)\.'
vars:
- torrentName
- category
@ -60,4 +60,4 @@ parse:
- uploader
match:
torrenturl: "{{ .baseUrl }}/download.php?torrent={{ .torrentId }}&torrent_pass={{ .passkey }}"
torrenturl: "{{ .baseUrl }}/torrent/download/{{ .torrentId }}.{{ .rsskey }}"