I'd like to have filebot cache the following file (in xml) - http://anidb.net/api/anime-titles.xml.gz
I've seen a few examples in the forums on caching xml that is a direct download, but nothing on how you would download it, decompress it and then cache it.
As for why, it has Series Synonyms in it, which I would like to use.
How would I use filebot cache with an xml file that needs gzip compression first?
Re: How would I use filebot cache with an xml file that needs gzip compression first?
The easiest way would be to download and extract that file manually, and update it manually on a schedule as necessary, independently of FileBot.
Once you have a local copy of that file, then you can just read it as usual with the built-in helpers:
Code: Select all
xml('/local/path/to/file.xml')