Suggestion: wget as default firefox/iceweasel downloader?

News and discussion about development of the Debian OS itself

Suggestion: wget as default firefox/iceweasel downloader?

Postby nP » 2007-07-21 16:39

If this is already implemented or not needed, please direct me to the appropriate manual, but I just had a lot of trouble trying to get Firefox's download manager to resume an interrupted download. As far as I could tell (based on repeated ls -l of the download directory), ``resume'' just makes it restart the download. So I was wondering whether it'd be possible to make firefox pass my downloads to wget, which I'm certain does resumptions correctly. It's also free software, so no copyright issues, stable, command-line, etc.
GNU screen: my window manager ^_^

Etch / 2.6.18-4-686 on a P2-336MHz/128MB/6GB Thinkpad 570
Etch / 2.6.18-4-686 on a P4-2.53GHz/512MB/80GB HP Pavilion 753n
nP
 
Posts: 53
Joined: 2007-03-09 02:00

Postby perlhacker14 » 2007-07-21 16:49

Here ( http://gwutama.de/2007/04/06/integratin ... share.html ) is a site that may be helpful.
Arven bids you a good day...

My Laptop: Toshiba Satellite A25-S3072; 3.06 GHz Pentium 4; 473 MiB RAM; Debian Testing/Unstable/Experimental / Slackware 12; Whatever WM/DE I feel like at the moment
User avatar
perlhacker14
 
Posts: 465
Joined: 2007-06-19 20:19
Location: 127.0.0.1

Postby nP » 2007-07-21 18:52

I don't have my linux box right now, so I'll report back again later if it actually works. Right now I just want to express my awe and slight incredulity at the timestamps on this thread: I posted 11:39, and perlhacker14, you apparently replied at 11:49, which makes for a turnaround of ten minutes. Debian has tech support like I can't even buy elsewhere.
GNU screen: my window manager ^_^

Etch / 2.6.18-4-686 on a P2-336MHz/128MB/6GB Thinkpad 570
Etch / 2.6.18-4-686 on a P4-2.53GHz/512MB/80GB HP Pavilion 753n
nP
 
Posts: 53
Joined: 2007-03-09 02:00

Postby Hadret » 2007-07-22 09:06

If you don't need RapidShare support, you could use this scripts instead:
Code: Select all
#! /bin/sh

DLDIR="/home/$user/downloads/"

xfce4-terminal -x wget -c --directory-prefix=$DLDIR $*


Just make sure you have done chmod +x to the script and you have changed your DLDIR location as well as name of terminal (xfce4-terminal in my case) you use (:
User avatar
Hadret
 
Posts: 354
Joined: 2007-07-19 13:04
Location: Berlin

Postby mzilikazi » 2007-07-22 23:43

Flashgot lets you choose any download manager you want including curl, wget, aria and others.
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
User avatar
mzilikazi
Forum Ninja
 
Posts: 3321
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

Postby nP » 2007-07-23 05:38

Firefox + Flashgot + wget seems to work for straight downloads, but I haven't had any convenient internet outages to test to resume. Anyone know how to interrupt the connection safely (i.e., in a way that doesn't bother other programs)?

Also, how do I do this for w3m? I spend a considerable amount of time in text-mode.
GNU screen: my window manager ^_^

Etch / 2.6.18-4-686 on a P2-336MHz/128MB/6GB Thinkpad 570
Etch / 2.6.18-4-686 on a P4-2.53GHz/512MB/80GB HP Pavilion 753n
nP
 
Posts: 53
Joined: 2007-03-09 02:00

Postby rickh » 2007-07-23 05:46

Not exactly Iceweasel/wget related, but ...
I think gwget is the default download manager for Epiphany.
Debian-Lenny/Sid 32/64
Desktop: Generic Core 2 Duo, EVGA 680i, Nvidia
Laptop: Generic Intel SIS/AC97
User avatar
rickh
 
Posts: 3473
Joined: 2006-06-29 02:13
Location: Albuquerque, NM USA

Postby mzilikazi » 2007-07-23 21:00

nP wrote:Firefox + Flashgot + wget seems to work for straight downloads, but I haven't had any convenient internet outages to test to resume. Anyone know how to interrupt the connection safely (i.e., in a way that doesn't bother other programs)?

Also, how do I do this for w3m? I spend a considerable amount of time in text-mode.

I prefer aria or curl. wget requires the use of the -c switch to continue an interrupted download. Without it wget might leave your original file alone and start a new one. I've not actually tried wget in this way tho. Never wanted to download something w/ w3m before either now that I think about it.
Debian Sid Laptops:
AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55 / 1.5G
Intel(R) Pentium(R) Dual CPU T2390 @ 1.86GHz / 3G
User avatar
mzilikazi
Forum Ninja
 
Posts: 3321
Joined: 2004-09-16 02:14
Location: Colorado Springs, CO

Postby L_V » 2007-07-29 23:57

In order to avoid extensions as much as possible, also found a script to use Kget as DL manager for Firefox.

http://www.polinux.upv.es/mozilla/mejoras.php?idioma=en
The script: http://www.polinux.upv.es/mozilla/impro ... lla-0.2.sh

This script simply modifies two js files, but needs some tweak beetween Firefox and Iceweasel.

I tried for iceweasel with no success.
If somebody is interested, he is welcome to check for feedback !
L_V
 
Posts: 1044
Joined: 2007-03-19 09:04

Postby pcalvert » 2007-07-30 17:23

I usually just right-click on the link and copy it, then type "wget -c " in a terminal window, paste the link, and press [ENTER]. That works most of the time. Unfortunately, it won't work for web sites that insist on using redirection instead of giving you the direct link for the download. For those cases, I use Opera.

Phil
pcalvert
 
Posts: 1845
Joined: 2006-04-21 11:19
Location: Sol Sector

Postby nP » 2007-08-03 17:59

I don't use KGet or KDE, so I would have to fiddle with that script
some. However, I don't mind extensions and Flashgot is working, so
that's too much effort. Thanks for the link, though.

Anyone got any ideas on w3m + wget? After all, they start with the same
letter. That must means something.
GNU screen: my window manager ^_^

Etch / 2.6.18-4-686 on a P2-336MHz/128MB/6GB Thinkpad 570
Etch / 2.6.18-4-686 on a P4-2.53GHz/512MB/80GB HP Pavilion 753n
nP
 
Posts: 53
Joined: 2007-03-09 02:00

Postby 0asaly » 2008-04-21 06:19

You can try "DownThemAll"-the first download manager/accelerator built inside Firefox!

Details:
https://addons.mozilla.org/en-US/firefox/addon/201
0asaly
 
Posts: 2
Joined: 2008-04-21 06:14


Return to Debian Development

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable