LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-06-2009, 10:47 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
bash: all --user-agent for "wget --user-agent "


Hello,

in my bash, I have :

Code:
..
  wget  --user-agent Mozilla/4.0   -k "$LINK" -O myretrievedlink.html 
..

from http://www.iccfx.com/
I get this error with that
Quote:
We're sorry. Your browser (Netscape 4) is outdated for a normal use
of the new enhanced dynamical website of the International Currency Converter.

You can download an upgrade at http://www.netscape.com. Look for Netscape 6.

However, this webiste is best viewed with Internet Explorer 5 or higher.
I just wanna track the currency of the dollar to Eur for me, to be daily informed

Bit normal,
What would you be rather using for wget, I mean that works all the time ?

For the moment, I reported 3 possible user-agents

Last edited by frenchn00b; 07-06-2009 at 10:49 PM.
 
Old 07-07-2009, 05:25 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If it's strictly a User-Agent problem then many sites, I know the Netscape site does, maintain lists of UA's: pick a "newer" one. However it may just be a problem with the site forcing browser behaviour: it clearly reads "normal use of the new enhanced dynamical website". As far as I know (so I could obviously be very wrong) wget, curl, elinks or whatever else CLI apps can't interprete or deal with Javascript or AJAX.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail User Agent Discussion trashbird1240 Slackware 2 04-11-2009 04:23 PM
Default mail user agent raananb Linux - Software 1 04-02-2008 04:15 AM
Someone calles ssh-agent as my user iiv Slackware 9 06-13-2007 01:45 PM
Shorten a Qmail user name to "user" instead of "user@domain.com" anorman Linux - Software 0 12-12-2003 08:29 AM
Hotplug usb agent "Cannot get config descriptor 0"? imk Linux - Networking 0 10-26-2003 12:48 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration