add readme Some raw and crappy documentation.
la-ninpre leobrekalini@gmail.com
Tue, 17 Nov 2020 14:24:57 +0300
fix formatted text parsing earlier, situations when there were strings like 'bold\ntext\n' that needed to be treated as bold text were converted in a wrong way (e.g. like '**bold\ntext\n**', which is breaking markup because of newline characters before closing asterisks), but now it's kind of fixed. also there's now support for emails and <pre> blocks.
la-ninpre leobrekalini@gmail.com
Mon, 16 Nov 2020 19:45:19 +0300
add tests i've found some issues with formatted text, this could be seen in output (which is not included now). there are some complications with parsing newline characters, but i'll fix it later. also script is now usable like command-line application. you can specify the directory in which source files are located. to make some tests you need to run $ python parse.py tests this will create directory tests/formatted_posts, where markdown posts will be populated. if directory is not specified, it assumes that script is in the source folder. if needed json file could not be found, it exits with code 1.
la-ninpre leobrekalini@gmail.com
Thu, 12 Nov 2020 22:38:08 +0300
add option to reassign directories for media now it's done through a variables photo_dir and media_dir, these should be filled in before running and they are intended to fit your specific setup. e.g. mine uses /assets folder for such file storage.
la-ninpre leobrekalini@gmail.com
Thu, 12 Nov 2020 02:03:03 +0300
add raw parser handles: - photo - text with bold, italic, underlined, stroke style and with links. - audio files not handles: - tags - replies - forwarded messages
la-ninpre leobrekalini@gmail.com
Wed, 11 Nov 2020 02:40:27 +0300