mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 16:59:12 +00:00
fix(indexers): funfile single line parsing (#646)
* fix(indexers): funfile announce line 2 is optional * Change to single line parse for the time being
This commit is contained in:
parent
122803b785
commit
362aa8f9d0
1 changed files with 13 additions and 9 deletions
|
@ -48,11 +48,12 @@ irc:
|
||||||
help: NickServ password
|
help: NickServ password
|
||||||
|
|
||||||
parse:
|
parse:
|
||||||
type: multi
|
type: single
|
||||||
lines:
|
lines:
|
||||||
- test:
|
- test:
|
||||||
- "[New Shit] Wiseguy.S04E01.720p.WEB.h264-SKYFiRE [TV/Web-HD] @ https://www.funfile.org/details.php?id=1662804 [2 GB] [FL]"
|
- "[New Shit] Wiseguy.S04E01.720p.WEB.h264-SKYFiRE [TV/Web-HD] @ https://www.funfile.org/details.php?id=1662804 [2 GB] [FL]"
|
||||||
- "[New Shit] DC.-.Wonder.Woman.The.Twelve.Labors.2018.Hybrid.Comic.eBook-BitBook [Ebook] @ https://www.funfile.org/details.php?id=1662668 [206 MB]"
|
- "[New Shit] DC.-.Wonder.Woman.The.Twelve.Labors.2018.Hybrid.Comic.eBook-BitBook [Ebook] @ https://www.funfile.org/details.php?id=1662668 [206 MB]"
|
||||||
|
- "[New Shit] Sister.Wives.S17.1080p.AMZN.WEB-DL.DDP2.0.H.264-NTb [TV/x264-HD] @ https://www.funfile.org/details.php?id=1663540 [49 GB] [FL]"
|
||||||
pattern: '\[New Shit\] (.*) \[(.*)\] @ (https?\:\/\/.*\/).*id=(.*?) \[(.*?)\] ?(?:\[(.*?)\])?'
|
pattern: '\[New Shit\] (.*) \[(.*)\] @ (https?\:\/\/.*\/).*id=(.*?) \[(.*?)\] ?(?:\[(.*?)\])?'
|
||||||
vars:
|
vars:
|
||||||
- torrentName
|
- torrentName
|
||||||
|
@ -62,15 +63,18 @@ irc:
|
||||||
- torrentSize
|
- torrentSize
|
||||||
- freeleech
|
- freeleech
|
||||||
|
|
||||||
- test:
|
# Commented out until we make a better fix for optional multi line
|
||||||
- "[Scene] Uploaded 1 min and 18 secs after pre"
|
#
|
||||||
- "[Scene] Uploaded 1 min and 55 secs after pre"
|
# - test:
|
||||||
pattern: '\[(.*)\] Uploaded (.*) after pre'
|
# - "[Scene] Uploaded 1 min and 18 secs after pre"
|
||||||
vars:
|
# - "[Scene] Uploaded 1 min and 55 secs after pre"
|
||||||
- origin
|
# pattern: '?(?:\[(.*)\] Uploaded (.*) after pre)?'
|
||||||
- preTime
|
# vars:
|
||||||
|
# - origin
|
||||||
|
# - preTime
|
||||||
|
|
||||||
|
|
||||||
match:
|
match:
|
||||||
torrenturl: "/download.php?{{ .torrentId }}/{{ .passkey }}/{{ .torrentName }}.torrent"
|
torrenturl: "/download.php?{{ .torrentId }}/{{ .passkey }}/{{ .torrentName }}.torrent"
|
||||||
encode:
|
encode:
|
||||||
- torrentName
|
- torrentName
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue