get wget log message

J

JuergenRiemer

Hi,

I didn't succeed to do the following:
I download a PDF file via wget yet I am not interested in the file
itself but the wget verbose output (log message) e.g. download speed,
total size, etc.
I know I could use < -o log.txt > and then read from that file yet
this seems not very elegant.
I am new to both wget/linux and python and am struggling for quite
some time now, could anyone help me here?

thx a lot
Juergen
 
J

JuergenRiemer

itself but the wget verbose output (log message) e.g. download speed,
total size, etc.

ahh I got it 1 minute after sending this post grrrr

commands.getstatusoutput(cmd)

Juergen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top