mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
fix(indexers): TS regex (#579)
* fix(indexers): TS regex TS got rid of the "id=" part in their announces, resulting in our pattern not matching anymore. Adjusted our regex with capturing the ID after `/` instead of `id=`. Tested this the new expression with 1180 announces of which all resulted in a match. * fixed test fixed test to match new regex
This commit is contained in:
parent
0f3ce7573e
commit
041ee4cebe
1 changed files with 2 additions and 2 deletions
|
@ -58,8 +58,8 @@ irc:
|
|||
type: single
|
||||
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: (.*)\.'
|
||||
- "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: (.*)\.'
|
||||
vars:
|
||||
- torrentName
|
||||
- category
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue