From 71c17112720a64fed7a5ff91f78c28a0b149d5af Mon Sep 17 00:00:00 2001 From: Rumble Date: Mon, 14 Jan 2008 00:36:27 +0000 Subject: [PATCH] Still buggy. --- src/util/webster.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/util/webster.c b/src/util/webster.c index b622876..f76da32 100755 --- a/src/util/webster.c +++ b/src/util/webster.c @@ -26,10 +26,10 @@ int main(int argc, char **argv) return 0; /* no word/pid given */ } pid = atoi(argv[2]); - + snprintf(buf, sizeof(buf), - "wget http://www.thefreedictionary.com/%s" - " -Owebster.html -o/dev/null", argv[1]); + "lynx -accept_all_cookies -source http://www.thefreedictionary.com/%s" + " >webster.html", argv[1]); system(buf); parse_webster_html(argv[1]); @@ -55,7 +55,7 @@ void parse_webster_html(char *arg) { return; } - unlink("webster.html"); /* We can still read */ +// unlink("webster.html"); /* We can still read */ for ( ; get_line(infile, buf)!=0; ) {