Delete Post processing script

Come up with a useful post-processing script? Share it here!
Post Reply
psycik
Full Member
Full Member
Posts: 108
Joined: September 28th, 2009, 2:33 pm

Delete Post processing script

Post by psycik »

Hi

Imm looking to develop a script for post processing some RSS downloaded zip files. Due to a change in how thing are uploaded, instead of individual downloads from RSS - everything is being packaged in zip files.

So What I'd like to do is utilitise the RSS regex rules I have in place but as part of a post processing script to remove everythign that doesn't meet those rules.

To that end, can I get some guidance on the python packages used to read the config file, and parse those rss regex strings, and I'll develop my own script.

I see the API can pull a config - can I access all the Regexs from there, or am I better to use a TOML (?) library to read the sabnzbd.ini file to pull an rss config out.

Thanks in advance
psycik
Full Member
Full Member
Posts: 108
Joined: September 28th, 2009, 2:33 pm

Re: Delete Post processing script

Post by psycik »

So managed to work it out. Bit hacky. But pulls the config via api, and looks for a specifc rss feed config.

From there reads all the regex strings and applies those the downloaded files. Removes all that can't find a regex match I'm interested in.
Post Reply