Triumph decided not to do paper manual anymore so here is a not so straight forward way of downloading the manual for offline use. This could all be scripted but I only own 1 bike and downloaded it once.
Also, fyi search doesn't work right now as I have not bothered to correct that code yet. Will update when that happens.
- Sign in an get a subscription to tritun.net
- Export your browsers tritun.net cookies to a netscape cookie file
- Find the document root from the portal and use the number in the following command
The following is for a 2020 Triumph T120
-
wget -r --no-clobber --load-cookies="./cookies-tritun-net.txt" --adjust-extension --convert-links -w 1 --restrict-file-names=windows 'https://www.tritun.net/tritun/service/document/1997'
-
Once downloaded you will need to add image extensions to get them to work correctly
In Bash
find ./service/graphic/SVG/ -name "en_GB" -type file -exec mv {} {}.svg \;
find ./service/graphic/BINARY/ -name "en_GB" -type file -exec mv {} {}.png \;
- Open the root folder in VSCode
- Search all files for the SVG and PNG files and add extensions
In VS Code
Find: (BINARY\/.*\/en_GB)
Replace: $1.png
Find: (SVG\/.*\/en_GB)
Replace: $1.svg
- You should be good to open the html file under 'services'