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: supports:
- irc - irc
- rss - rss
source: custom source: UNIT3D
settings: settings:
- name: passkey - name: rsskey
type: secret type: secret
label: Passkey label: Rss key
help: "Go to General / Get RSS / Check a category and click create your passkey is after torrent_pass=" help: "Click on your nick / Go to Security / Copy the RID (RSS Key) and paste it here."
irc: irc:
network: Torrentseeds.org network: Torrentseeds.org
@ -50,7 +50,7 @@ parse:
lines: lines:
- test: - 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." - "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: vars:
- torrentName - torrentName
- category - category
@ -60,4 +60,4 @@ parse:
- uploader - uploader
match: match:
torrenturl: "{{ .baseUrl }}/download.php?torrent={{ .torrentId }}&torrent_pass={{ .passkey }}" torrenturl: "{{ .baseUrl }}/torrent/download/{{ .torrentId }}.{{ .rsskey }}"