This code is not very useful, it extracts the text from my HTML and marks the titles in wiki format, nothing else.
All the work of exporting the zip file and unpacking it to obtain the html and then running the app I had to clone from github to only obtain a barely useful function make this a small waste of my time that I will document here for the next sorry soul that finds it.
If you happen to know of a code that works better, please let me know.
I also tried to use the wikinotes fork, but the python code was broken. I had to change the name of a module to get it to run, and then hardcode the filenames, and then it threw an error on me:
Traceback (most recent call last):
File "wikicodify.py", line 199, in <module>
wikicodify(input_file, output_file, wikidict)
File "wikicodify.py", line 168, in wikicodify
format = get_format(element, wikidict, match.group())
File "wikicodify.py", line 48, in get_format
for class_name in tag_classes:
This code is not very useful, it extracts the text from my HTML and marks the titles in wiki format, nothing else.
All the work of exporting the zip file and unpacking it to obtain the html and then running the app I had to clone from github to only obtain a barely useful function make this a small waste of my time that I will document here for the next sorry soul that finds it.
If you happen to know of a code that works better, please let me know.
I also tried to use the wikinotes fork, but the python code was broken. I had to change the name of a module to get it to run, and then hardcode the filenames, and then it threw an error on me: