Sometimes when I find online book which I want to read I don't have much time to do it. It's caused by a lot of different things I have to do in the same time. After thinking I've revealed some method to make getting knowledge from this book possible without reading it - if you can't read a book, listen it!!!
It is not as hard as you could thing. See below for script gives you possibility to do it.
#!/bin/bash
rm ch*
for i in `seq 0 13`;
do
if [ $i -lt 10 ]
then
chapter='0'$i
else
chapter=$i
fi
chapter="ch"$chapter".html"
wget "http://stallman.helion.pl/"$chapter
html2text $chapter >> out.txt
done
espeak -v pl -f out.txt -w plik.wav
lame -V2 plik.wav plik.mp3
No comments:
Post a Comment