Restarts download from begining - wget

Bug reports and enhancement requests
Post Reply
DopplerDuck
Posts: 1
Joined: Tue Aug 27, 2013 4:12 pm

Restarts download from begining - wget

Post by DopplerDuck »

One major problem when using wget as the download manager is that some sites add a start=0 at the end of the video link so wget starts all over again after a disconnection:

Code: Select all

"wget" --trust-server-names -c -O filename.mp4 --directory-prefix=/home/Psycho/Downloads --referer=someurl/player.swf  --load-cookies=/tmp/flashgot.Psycho/cookies-1   --user-agent=Mozilla/5.0\ \(X11\;\ Ubuntu\;\ Linux\ x86_64\;\ rv:23.0\)\ Gecko/20100101\ Firefox/23.0 someurl/video.mp4\?start=0
Wget works as it should when I copy this command from the /temp/flashgot.*/flashgot.fgt file and run it in the terminal with the following switches added :

Code: Select all

-t 0 -T 3 
and removing the

Code: Select all

\?start=0
from the end to make the whole command look like this:

Code: Select all

wget --trust-server-names -c -t 0 -T 3 -O filename.mp4 --directory-prefix=/home/Psycho/Downloads --referer=someurl/player.swf  --load-cookies=/tmp/flashgot.Psycho/cookies-1   --user-agent=Mozilla/5.0\ \(X11\;\ Ubuntu\;\ Linux\ x86_64\;\ rv:23.0\)\ Gecko/20100101\ Firefox/23.0 someurl/video.mp4
It would be a great help if flashgot removes the

Code: Select all

\?start=0
and adds the

Code: Select all

-t 0 -T 3 
by itself.
Opera/9.80 (X11; Linux x86_64; Edition Linux Mint) Presto/2.12.388 Version/12.16
Post Reply