mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +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 |
||
---|---|---|
.. | ||
action | ||
announce | ||
api | ||
auth | ||
client | ||
config | ||
database | ||
domain | ||
download_client | ||
events | ||
feed | ||
filter | ||
http | ||
indexer | ||
irc | ||
logger | ||
mock | ||
notification | ||
release | ||
scheduler | ||
server | ||
user | ||
utils |