resource-scraper/config/scope/stb.yaml

29 lines
851 B
YAML

role: console
stb:
endpoint: stb@amok.space
#mailboxes: ["INBOX"]
#mailboxes: ["INBOX", "Junk Mail", "Done"]
mailboxes: ["Junk Mail"]
#mailboxes: ["Done"]
search-criteria: ["Your Share The Brutality digest", "noreply@sharethebrutality.info"]
move-processed-to-mailbox:
succeed: Processed/Succeed
#succeed: Done
failed: Processed/Failed
suspicious: Processed/Suspicious
sender:
mailbox: noreply
host: sharethebrutality.info
subject: Your Share The Brutality digest
db-type: nnmc
regex:
type-id: (?is)^\/forum\/topic\/(\d+)-
who-genre: (?is)^(.*) created a topic in (Discographies|Death Metal|Old School Death|Other Genres|Your Own Rips)
topics:
discographies: 9
death metal: 11
old school death: 33
other genres: 40
your own rips: 14
storage:
filepath: c:\tmp\mdb\stb\