Better HN
topnewbestaskshowjobs
Log inSign up

geoscripting

105 karma · joined Feb 13, 2009 (17y ago) · 48 submissions

Submissions

31.

A rails debugging trick you may not know(ssscripting.wordpress.com ↗)

1 points · by geoscripting · 17y ago · discuss

32.

How to submit a form programmatically. Pics included.(ssscripting.wordpress.com ↗)

1 points · by geoscripting · 17y ago · discuss

33.

Non web programmer's way to highlight code on your blog(ssscripting.wordpress.com ↗)

1 points · by geoscripting · 17y ago · discuss

comment 17y ago · link · parent

You could give HtmlUnit a try.

comment 17y ago · link · parent

It is recommended that you use the API that google provides for searching, but I fail to see why telnetting would be illegal. After all, both firefox and telnet use sockets to do their job.

comment 17y ago · link · parent

Yes, I have worked with mechanize before. I was using mechanize even when there only was the perl version. I added a comment to the article explaining my choice.

comment 17y ago · link · parent

The example wasn't written in Java for performance gain. It so happened that I had NetBeans open , and it was easier for me to write it in Java at the moment :).

comment 17y ago · link · parent

There's also mechanize for python. It can be found here : http://wwwsearch.sourceforge.net/mechanize/ . It handles cookies by default, and is a pretty good tool.

comment 17y ago · link · parent

What did you thought this will be about? :)

comment 17y ago · link · parent

More and more websites are adding Turing tests after relatively short intervals of time. I consider that to be a good thing, and there are some good ways to stop/identify spiders. You can check out this site: http://stackoverflow.com/questions/450835/how-do-you-stop-sc... . It shows some pretty good techniques that one can use to defend from spiders.

comment 17y ago · link · parent

Twill is an option indeed, but this way you don't miss out on the javascript. You can take advantage of all of your browser's features.

comment 17y ago · link · parent

I think you misread the article.

comment 17y ago · link · parent

That's how it all starts :)

comment 17y ago · link · parent

True, you can use wget as well, but this way you have more control over your code.

45.

How to scrape data from sites you can't log into(ssscripting.wordpress.com ↗)

37 points · by geoscripting · 17y ago · 37 comments

46.

Don't be afraid to try other frameworks(ssscripting.wordpress.com ↗)

2 points · by geoscripting · 17y ago · discuss

47.

Web scraping techniques(ssscripting.wordpress.com ↗)

3 points · by geoscripting · 17y ago · discuss

48.

How to write a spider(ssscripting.wordpress.com ↗)

3 points · by geoscripting · 17y ago · discuss

12