01-29-2011
Help with using lynx/wget/curl when a link has an ampersand
Hi, for my own interest I want to scrape a lot of data off the Maple Story game rankings page.
The problem is, when I want to get the data at this page
maplestory(dot)nexon(dot)net/Rankings/OverallRanking.aspx?type=overall&s=&world=0&job=0&pageIndex=6
It gives me the data at this page
maplestory(dot)nexon(dot)net/Rankings/OverallRanking.aspx?type=overall
so I think it has to do with the ampersands. I've tried it with curl/wget/lynx --dump and none of them work. Maybe I'm just missing a command or using the wrong tool. Does anyone have advice?
Thanks.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
We are trying to invoke a https service from our unix script using curl command. The service is not getting invoked because it is SSL configured. Bypassing certification (using curl –k) does not work.
curl -k https://site
curl -k -x IP:Port https://site
curl -k -x IP:443 https://id:pwd@site
... (0 Replies)
Discussion started by: dineshbabu01
0 Replies
2. Shell Programming and Scripting
I need a proxy that would enable me to use cli curl/wget with another ip address.
How do I find a paid proxy server that supports curl/wget? (1 Reply)
Discussion started by: locoroco
1 Replies
3. Shell Programming and Scripting
Hello,
I am wondering does anyone know of a method using curl/wget or other where by I could specify the IP address of the server I wish to query for a website.
Something similar to editing /etc/hosts but that can be done directly from the command line. I have looked through the man pages... (4 Replies)
Discussion started by: colinireland
4 Replies
4. Shell Programming and Scripting
Hi
I need a Shell script that will download a zip file every second from a http server but i can't use neither curl nor wget.
Can anyone will help me go about this task ???
Thanks!! (1 Reply)
Discussion started by: rubber08
1 Replies
5. Shell Programming and Scripting
i use curl and wget quite often.
i set up alarms on their output. for instance, i would run a "wget" on a url and then search for certain strings within the output given by the "wget".
the problem is, i cant get the entire output or response of my wget/curl command to show up correctly in... (3 Replies)
Discussion started by: SkySmart
3 Replies
6. Shell Programming and Scripting
Hi,
My script needs to crawl the data from a third party site. Currently it is written in wget. The third party site is of shared interface with different IP addresses.
My wget works with all the IP address but not with one. Whereas the curl is able to hit that IP address and comes out... (2 Replies)
Discussion started by: sathyaonnuix
2 Replies
7. Shell Programming and Scripting
Experts,
I login to a 3rd party and pull some valuable information with my credentials. I pass my credentials via --post-data in wget.
Now my Account is locked. I want my wget to alert that the Account is locked. How can i achieve this.
My idea is, get the Source page html from the... (2 Replies)
Discussion started by: sathyaonnuix
2 Replies
8. UNIX for Dummies Questions & Answers
Hi Experts,
Problem statement :
We have an URL for which we need to read the data and get parsed inside the shell scripts.
My Aix has very limited perl utility, i cant install any utility as well.
Precisely, wget,cURL,Lynx,w3m and Lwp cant be used as i got these utilities only when i googled... (0 Replies)
Discussion started by: scott_cog
0 Replies
9. Shell Programming and Scripting
Hello,
What I am trying to do is to get html data of a website automatically.
Firstly I decided to do it manually and via terminal I entered below code:
$ wget http://www.***.*** -q -O code.html
Unfortunately code.html file was empty.
When I enter below code it gave Error 303-304
$... (1 Reply)
Discussion started by: baris35
1 Replies
10. Web Development
What can I use instead of wget/curl when I need to log into websites that use javascript?
Wget and curl don't handle javascript. (6 Replies)
Discussion started by: locoroco
6 Replies
LEARN ABOUT LINUX
update-smart-drivedb
UPDATE-SMART-DRIVEDB(8) SMART Monitoring Tools UPDATE-SMART-DRIVEDB(8)
NAME
update-smart-drivedb - update smartmontools drive database
SYNOPSIS
update-smart-drivedb [OPTIONS] [DESTFILE]
DESCRIPTION
[This man page is generated for the Linux version of smartmontools. It does not contain info specific to other platforms.]
update-smart-drivedb updates /var/lib/smartmontools/drivedb/drivedb.h or DESTFILE from smartmontools SVN repository.
It tries to download first from the current branch and then from trunk. The tools used for downloading are either curl(1), wget(1),
lynx(1), or svn(1).
The old file is kept if the downloaded file is identical (ignoring the differences in Id string) otherwise it is moved to drivedb.h.old.
OPTIONS
-s SMARTCTL
Use the smartctl(8) executable at path SMARTCTL for drive database syntax check. The form '-s -' disables the syntax check. The
default is /usr/sbin/smartctl.
-t TOOL
Use TOOL for download. TOOL is one of: curl wget lynx svn. The default is the first one found in PATH.
-u LOCATION
Use URL of LOCATION for download. LOCATION is one of:
sf (Sourceforge code browser via HTTPS),
svn (SVN repository via HTTPS),
svni (SVN repository via HTTP),
trac (Trac code browser via HTTPS).
The default is svn.
--cacert FILE
Use CA certificates from FILE to verify the peer.
--capath DIR
Use CA certificate files from DIR to verify the peer.
--insecure
Don't abort download if certificate verification fails. This option is also required if a HTTP URL is selected with '-u' option.
--dryrun
Print download commands only.
-v Verbose output.
EXAMPLES
# update-smart-drivedb
/var/lib/smartmontools/drivedb/drivedb.h updated from branches/RELEASE_6_6_DRIVEDB
EXIT STATUS
The exit status is 0 if the database has been successfully updated. If an error occurs the exit status is 1.
FILES
/usr/sbin/update-smart-drivedb
full path of this script.
/usr/sbin/smartctl
used to check syntax of new drive database.
/var/lib/smartmontools/drivedb/drivedb.h
current drive database.
/var/lib/smartmontools/drivedb/drivedb.h.old
previous drive database.
/var/lib/smartmontools/drivedb/drivedb.h.error
new drive database if rejected due to syntax errors.
/var/lib/smartmontools/drivedb/drivedb.h.lastcheck
empty file created if downloaded file was identical.
AUTHORS
Christian Franke.
This manual page was originally written by Hannes von Haugwitz <hannes@vonhaugwitz.com>.
REPORTING BUGS
To submit a bug report, create a ticket in smartmontools wiki:
<http://www.smartmontools.org/>.
Alternatively send the info to the smartmontools support mailing list:
<https://lists.sourceforge.net/lists/listinfo/smartmontools-support>.
SEE ALSO
smartctl(8), smartd(8).
PACKAGE VERSION
smartmontools-6.6 2016-05-31 r4324
$Id: update-smart-drivedb.8.in 4223 2016-02-26 20:18:40Z chrfranke $
smartmontools-6.6 2016-05-31 UPDATE-SMART-DRIVEDB(8)