Get note from kdenlive and generate a file for description youtube
Script to get note from file kdenlive a youtube time format
HOW TO USE:
getnotex file.kdenlive
From
<property name="kdenlive:documentnotes"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Roboto'; font-size:10pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Al inicio</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="0"><span style=" text-decoration: underline; color:#2980b9;">00:00:00,00</span></a> Inicio de la clase 00:00</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="3576"><span style=" text-decoration: underline; color:#2980b9;">00:01:59,08</span></a> Segundo comentario 01:59</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="20153"><span style=" text-decoration: underline; color:#2980b9;">00:11:12,13</span></a> Otro comentario a los 11:12</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="26862"><span style=" text-decoration: underline; color:#2980b9;">00:14:56,08</span></a> [Referencia] a otro video 14:56</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="29508"><span style=" text-decoration: underline; color:#2980b9;">00:16:24,18</span></a> El ultimo punto 16:24</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Texto sin referencia</p></body></html></property>
To
Al inicio
00:00 Inicio de la clase 00:00
01:59 Segundo comentario 01:59
11:12 Otro comentario a los 11:12
14:56 [Referencia] a otro video 14:56
16:24 El ultimo punto 16:24
Texto sin referencia
- Download script to save
getnotex
- change permission with
sudo chmod +x getnotex
- Copy to PATH
- Or use
python getnotex
BeautifulSoup
:pip install bs4 --user
To generate a release exec script ../build.sh