thumbnail of qtRoseLuckInForest.jpg
thumbnail of qtRoseLuckInForest.jpg
qtRoseLuckInForest jpg
(470.22 KB, 1201x1082)
thumbnail of PythonCommentConverter-0.1.0.zip.zip
thumbnail of PythonCommentConverter-0.1.0.zip.zip
PythonComm... zip
(168.3 KB, 0x0)
 >>/7530/
Okay, this took about 2 months longer than expected, but I have rewritten the comment converter in python. So far it's slightly
better than the Kotlin version. Some new stuff included:
> Supports linking custom CSS styles
> Supports linking custom js
> Supports linking multiple videos
> Comments and their replies are now paired correctly and can be shown/hidden using java script
> There should be backwards compatibility for parsing scrapped comments without avatars, hearts and other stuff

However there some things that are still (or now) broken/not implemented
> Avatar downloading is missing
> It still looks ugly however it's better than before I think
> Ironically, the "fixed" comment-json (remade to array) is now not supported as we use much simpler parsing here
> Comments from youtube API are not supported as they have too complex structure and I have no idea how to make parsing them not retarded right now
> Comment paging is not implemented, but it should be much easier in this version of converter
> JSON parsing is a bit "clumsy" right now and should be remade

Planned features:
> Paging & avatar downloading (highest priority)
> Everything from previous paragraph
> API comment support
> Converting the scrapped comments and API comments to unified JSON for unified parsing
> Converting scrapped relative time to universal time (this one will be ugly)
> Giving this thing some api so it can be used from other scripts more efficiently 

I am not sure how much time I'll have to work on this in the near future, but hopefully it won't take another 2 months for next update.
In case anyone would like to modify it/play with some of the todos mentioned in the zip, I included some documentation in Documentation.md and some
examples for usage in Usage.md. There is also one converted example (but without video due to size) with all current "features" enabled for
preview of current state.

And for the git mentioned in  >>/7561/ and others, I'll probably self host something when I'll get enough money to buy VPS for at least a
year, as I wanted to make some pony website with similar services anyways.

Overall there is really nothing extra in this version, I just mostly wanted to drop something for PoLS.