mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
![]() * Fixed regex to still match the announce if there are no flags in it. * customize freeleech parsing from regex * Fix match when there is no year given (instead of 0) for a release. Made capture group 4 lazy/optional/ungreedy. Created a non-capturing group for the `:: NSFW! ::` section to exclude the seperators and the tag itself from the tags var. I think we should exclude a possible `:: NSFW! ::` section after the tags section from matching for 2 reasons: 1. There is already an "adult" tag. Use it. 2. The `:: NSFW! ::` may get truncated if the announce line is too long. Matching the tag against `adult` is more consistent. Fix match when `:: NSFW! ::` section gets truncated because the announce line is too long. Tested with a sample size of 554 announces of which 554 resulted in a match. * fix(indexers): ggn change flags to releaseTags and freeleech |
||
---|---|---|
.. | ||
definitions | ||
api.go | ||
definitions.go | ||
service.go |