This website is a read-only preview of RuneLibris. Some features may not work. For more information about the full feature-complete version of this wiki, please visit this link.
(Archive index)
Info/TSV parser
From RuneLibris
Overview[edit]
JSON parser is a Python script generated by MyNinja.ai. It is can extract multiple specific entries from a large .tsv file[1].
Usage[edit]
Usage of the script as follow[2]:
- Replace the contents of input.tsv with the data you want to be parsed
- Add the list of target subjects to parser.py
- Run parser.py in CMD
- Data will be outputted in output.txt
Known issues & fixes[edit]
- The error 'utf-8' codec can't decode byte 0xb4 in position 192 is caused by the input file not being in UTF-8 (Notepad++ is sometimes unreliable to detect encoding). To fix this, convert the input document to ANSI and update all occurences of utf-8 to ansi in the script[3].