06-05-2015
wget's user and passwd are for HTTP basic authentication, which is not the same as the web login forms you find these days. How to use those depends entirely on the webpage and depending on the implementation may involve cookies and javascript.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi
I was run thix command(wget) it was runing in some severs
but in some servers it wasn't run ??
......
how to it run in that server ?
thx
:( (1 Reply)
Discussion started by: XPS
1 Replies
2. UNIX for Dummies Questions & Answers
Hi
I need to know if I have got the following grep command correct. I wanted to find from myfile.txt all signed real numbers (e.g. +5.0, -78, but not 5.0, 5 are not).
I have thought about it and decided it was this:
grep '' myfile.txt
but I was wondering if this was correct. If... (2 Replies)
Discussion started by: rushhour
2 Replies
3. UNIX for Dummies Questions & Answers
Hi guys,
I have a question about the zip command. Right now I have a directory with some files and folders on it that I want to compress. When I run the zip command:
zip foo -r
I am getting a foo.zip file that once I unzip it contains a foo folder. I want to create the foo.zip, but that... (1 Reply)
Discussion started by: elioncho
1 Replies
4. Solaris
I'm using the "wget" command to get the date from Yahoo.com. So this is what I use on Solaris:
/usr/sfw/bin/wget --timeout=3 -S Yahoo!
This works well when my computer is linked to the Net. But when it's not, this command just hangs. I thought putting the timemout = 3 will make this... (2 Replies)
Discussion started by: newbie09
2 Replies
5. UNIX for Dummies Questions & Answers
I was recently reading a manual of wget and there was command as "binding-address" and I read about tcp/ip binding but i don't understand one thing is...what is the use of binding address in wget..
Can anyone help me with this. (6 Replies)
Discussion started by: jFreak619
6 Replies
6. UNIX for Dummies Questions & Answers
Dear all,
I would like to use the wget command to download on my laptop some free e-books for then being able to read them when I am off the internet.
could you please let me know, what is the best of doing that?
Let's say, I want download the bible that can be found here:
The Project... (3 Replies)
Discussion started by: freddie50
3 Replies
7. UNIX for Advanced & Expert Users
I was trying to copy all debs from apt cache to some storage location and I was taking this approach...
/var/cache/apt/archives# ls -1 | grep -v jdownloader | fgrep .deb | xargs cp /media/eshant/L-STORE/Softwares/openjdk/an error bla_bla.deb is a not directory stalled me
Suggestions please... (9 Replies)
Discussion started by: ezee
9 Replies
8. Shell Programming and Scripting
hi,
i need help for downloading excel file from internet and convert it to text file
wget http://spreadsheetpage.com/downloads/xl/wordfrequency.xls (4 Replies)
Discussion started by: raghur77
4 Replies
9. Shell Programming and Scripting
If a command is not found, e.g. nawk, this is how I fix the problem
] && NAWK=/usr/bin/gawk
] && NAWK=/usr/bin/nawk
] && NAWK=/usr/bin/awkI use $NAWK an the set the appropriate value based on the system it runs.
How can I implement a similar fix for a command found but illegal argument.... (6 Replies)
Discussion started by: mohtashims
6 Replies
10. Shell Programming and Scripting
On server1 the "id" command works fine and returns "myuser" user as was expected. Below are the details of the good server.
$ id -nu 501
myuser
$ cat /etc/system-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
$ uname -a
Linux server1 3.10.0-957.el7.x86_64 #1 SMP Thu Oct 4... (10 Replies)
Discussion started by: mohtashims
10 Replies
LEARN ABOUT DEBIAN
mojo::cookiejar
Mojo::CookieJar(3pm) User Contributed Perl Documentation Mojo::CookieJar(3pm)
NAME
Mojo::CookieJar - Cookie jar for HTTP 1.1 user agents
SYNOPSIS
use Mojo::CookieJar;
my $jar = Mojo::CookieJar->new;
DESCRIPTION
Mojo::CookieJar is a minimalistic and relaxed cookie jar for HTTP 1.1 user agents.
ATTRIBUTES
Mojo::CookieJar implements the following attributes.
"max_cookie_size"
my $max_cookie_size = $jar->max_cookie_size;
$jar = $jar->max_cookie_size(4096);
Maximum cookie size in bytes, defaults to 4096.
METHODS
Mojo::CookieJar inherits all methods from Mojo::Base and implements the following new ones.
"add"
$jar = $jar->add(@cookies);
Add multiple Mojo::Cookie::Response objects to the jar.
"empty"
$jar->empty;
Empty the jar.
"extract"
$jar = $jar->extract($tx);
Extract response cookies from transaction.
"find"
my @cookies = $jar->find($url);
Find Mojo::Cookie::Request objects in the jar for Mojo::URL object.
"inject"
$jar = $jar->inject($tx);
Inject request cookies into transaction.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.2 2012-09-05 Mojo::CookieJar(3pm)