Browse code

aria2 disabled

dewomser authored on23/05/2018 19:08:52
Showing1 changed files

... ...
@@ -23,7 +23,6 @@ perday=4
23 23
 aria2=''
24 24
 
25 25
 ## from Firefox bookmarks ##
26
-## switch to the default firefox folder with sqlite databases. ##
27 26
 ## change *default* if you have other profiles than default. ##
28 27
 ## comment if you load from array ##
29 28
 cd ~/.mozilla/firefox/*default* || exit
... ...
@@ -46,7 +45,7 @@ cd  $dl_folder || exit
46 45
 ## let youtube-dl do the work  and download brandnew videos##
47 46
 # 
48 47
 for i in "${dbarray[@]}"; do
49
-youtube-dl "$aria2" --dateafter "$datum" --playlist-end "$perday" --max-downloads "$perday" "$i"
48
+youtube-dl $aria2 --dateafter "$datum" --playlist-end "$perday" --max-downloads "$perday" "$i"
50 49
 # echo $i
51 50
 done
52 51