autobrr/internal/indexer
xoaaC f811b80413
fix(indexers): GGn regex pattern (#516)
* 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
2022-11-10 10:35:59 +01:00
..
definitions fix(indexers): GGn regex pattern (#516) 2022-11-10 10:35:59 +01:00
api.go feat(logging); improve messages and errors (#336) 2022-07-05 13:31:44 +02:00
definitions.go feat: add backend 2021-08-11 15:26:17 +02:00
service.go feat(feeds): add generic RSS support (#410) 2022-08-20 00:34:46 +02:00