feat(indexers): add freeleech support for TS (#983)

add freeleech to regex and vars for new TS announce format
This commit is contained in:
martylukyy 2023-06-14 19:44:06 +02:00 committed by GitHub
parent 84c7120d08
commit 956225c108
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,7 +59,7 @@ irc:
lines:
- test:
- "New: This.Is.A.New.show.S00E00.720p.WEB.H264-Test .:. Category: TV/HD .:. Size: 706.15 MiB .:. URL: https://www.torrentseeds.org/torrents/0000000 .:. Uploaded by: George."
pattern: 'New: (.+) \.:\. Category: (.+) \.:\. Size: (.+) \.:\. URL: (https?\:\/\/.+\/).+/(\d+) \.:\. Uploaded by: (.*)\.'
pattern: 'New: (.+) \.:\. Category: (.+) \.:\. Size: (.+) \.:\. URL: (https?\:\/\/.+\/).+/(\d+) \.:\. Uploaded by: (\w+)\s?(FREELEECH)?.*'
vars:
- torrentName
- category
@ -67,6 +67,7 @@ irc:
- baseUrl
- torrentId
- uploader
- freeleech
match:
infourl: "/torrents/{{ .torrentId }}"