Update ytd and fix max size check

This commit is contained in:
Némunaire 2012-10-23 18:09:06 +02:00
commit 5210a4d188
3 changed files with 4 additions and 4725 deletions

2
dl.sh
View file

@ -23,7 +23,7 @@ if [ ! -e /tmp/dlEnCours ]; then
echo "-- " >> $f.done
transmission-remote -AS
else
size=`$pwd/youtube-dl --skip-download http://www.youtube.com/watch?v=nh_hs-8_zF4 | grep "File size"`
size=`$pwd/youtube-dl --skip-download "$lign" | grep "File size"`
if echo $size | grep -E " [1234]?[0-9]{2}\.[0-9]+M "
then
echo "$lign" >> $pwd/database