eigengrau / tts-backup

Backup Tabletop Simulator saves and assets into comprehensive Zip files.
GNU General Public License v3.0
110 stars 20 forks source link

Parse Lua scripts and extract asset URLs #8

Open eigengrau opened 4 years ago

eigengrau commented 4 years ago

We could potentially extract URLs from Lua scripts, leveraging luaparser to find URLs in string literals. To determine the type of asset, we could fall back on identify. Obviously, this won’t work in case URLs are computed dynamically.