mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
fix(releases): force capture titles AB (#668)
capture those weird titles
This commit is contained in:
parent
81b7d341e7
commit
ad0d482065
2 changed files with 6 additions and 2 deletions
|
@ -193,7 +193,6 @@ func (r *Release) ParseString(title string) {
|
||||||
rel := rls.ParseString(title)
|
rel := rls.ParseString(title)
|
||||||
|
|
||||||
r.TorrentName = title
|
r.TorrentName = title
|
||||||
r.Title = rel.Title
|
|
||||||
r.Source = rel.Source
|
r.Source = rel.Source
|
||||||
r.Resolution = rel.Resolution
|
r.Resolution = rel.Resolution
|
||||||
r.Region = rel.Region
|
r.Region = rel.Region
|
||||||
|
@ -206,6 +205,10 @@ func (r *Release) ParseString(title string) {
|
||||||
r.Artists = rel.Artist
|
r.Artists = rel.Artist
|
||||||
r.Language = rel.Language
|
r.Language = rel.Language
|
||||||
|
|
||||||
|
if r.Title == "" {
|
||||||
|
r.Title = rel.Title
|
||||||
|
}
|
||||||
|
|
||||||
if r.Season == 0 {
|
if r.Season == 0 {
|
||||||
r.Season = rel.Series
|
r.Season = rel.Series
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,9 +67,10 @@ irc:
|
||||||
- "Best Visual Novel - Visual Novel [2006] :: Game / PC / Unarchived / Hentai (Censored) || https://animebytes.tv/torrents.php?id=00000&torrentid=00000 || nukige || Uploaded by: Uploader"
|
- "Best Visual Novel - Visual Novel [2006] :: Game / PC / Unarchived / Hentai (Censored) || https://animebytes.tv/torrents.php?id=00000&torrentid=00000 || nukige || Uploaded by: Uploader"
|
||||||
- "Artist Name - Album of awesome Music [1991] :: MP3 / V0 (VBR) / CD || https://animebytes.tv/torrents2.php?id=00000&torrentid=000000 || ambient, folk || Uploaded by: Uploader"
|
- "Artist Name - Album of awesome Music [1991] :: MP3 / V0 (VBR) / CD || https://animebytes.tv/torrents2.php?id=00000&torrentid=000000 || ambient, folk || Uploaded by: Uploader"
|
||||||
- "Awesome Series - TV Series [2022] :: Web / MKV / h264 / 1080p / AAC 2.0 / Softsubs (Sub Group) / Episode 1 / Freeleech || https://animebytes.tv/torrents.php?id=00000&torrentid=000000 || || Uploaded by: Uploader"
|
- "Awesome Series - TV Series [2022] :: Web / MKV / h264 / 1080p / AAC 2.0 / Softsubs (Sub Group) / Episode 1 / Freeleech || https://animebytes.tv/torrents.php?id=00000&torrentid=000000 || || Uploaded by: Uploader"
|
||||||
pattern: '(.*?)(?: - )?(Visual Novel|Light Novel|TV S.*|Movie|Manga|OVA|ONA|DVD Special|BD Special|Oneshot|Anthology|Manhwa|Manhua|Artbook|Game|Live Action.*|)[\s\p{Zs}]{2,}\[(\d+)\] :: (.*?(?:Hardsubs|RAW|Softsubs|Translated) \((.*?)\).*?|.*?)(?: \/ Episode (\d+).*?)?(?: \/ )?(Freeleech)?(?:.?\|\|.?)(https.+\/)torrents.*\?id=\d+&torrentid=(\d+)(?:.?\|\|.?)?([A-Za-z,. ]+\w)?(?:.?\|\|.?)?(?:Uploaded by: (.*))?'
|
pattern: '((.*?)+)(?: - )?(Visual Novel|Light Novel|TV S.*|Movie|Manga|OVA|ONA|DVD Special|BD Special|Oneshot|Anthology|Manhwa|Manhua|Artbook|Game|Live Action.*|)[\s\p{Zs}]{2,}\[(\d+)\] :: (.*?(?:Hardsubs|RAW|Softsubs|Translated) \((.*?)\).*?|.*?)(?: \/ Episode (\d+).*?)?(?: \/ )?(Freeleech)?(?:.?\|\|.?)(https.+\/)torrents.*\?id=\d+&torrentid=(\d+)(?:.?\|\|.?)?([A-Za-z,. ]+\w)?(?:.?\|\|.?)?(?:Uploaded by: (.*))?'
|
||||||
vars:
|
vars:
|
||||||
- torrentName
|
- torrentName
|
||||||
|
- title
|
||||||
- category
|
- category
|
||||||
- year
|
- year
|
||||||
- releaseTags
|
- releaseTags
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue