On 02 Mar 2014, at 06:49, Sean P. DeNigris s...@clipperadams.com wrote:
In porting the Mechanize web scraping library from Ruby, I started with the
following example:
a.get('http://google.com/') do |page|
search_result = page.form_with(:name = 'f') do |search|
search.q = 'Hello
which parser will you use to parse HTML?
On 02 Mar 2014, at 06:49, Sean P. DeNigris s...@clipperadams.com wrote:
In porting the Mechanize web scraping library from Ruby, I started with the
following example:
a.get('http://google.com/') do |page|
search_result = page.form_with(:name =
Pharo4Stef wrote
Sean how it is different from Soup?
It adds a layer from a web browsing POV, so you can say #submit this form
and #click the link whose text #beginsWith: 'Whatever'. I used Soup
underneath, since it is the very forgiving of the underlying html is
malformed.
Pharo4Stef wrote
Hi Sean,
On 02 Mar 2014, at 06:49, Sean P. DeNigris s...@clipperadams.com wrote:
In porting the Mechanize web scraping library from Ruby, I started with the
following example:
a.get('http://google.com/') do |page|
search_result = page.form_with(:name = 'f') do |search|
search.q =
On 02 Mar 2014, at 12:42, Sean P. DeNigris s...@clipperadams.com wrote:
Pharo4Stef wrote
Sean how it is different from Soup?
It adds a layer from a web browsing POV, so you can say #submit this form
and #click the link whose text #beginsWith: 'Whatever'. I used Soup
underneath, since it
Sean,
On 02 Mar 2014, at 12:44, Sven Van Caekenberghe s...@stfx.eu wrote:
Hi Sean,
On 02 Mar 2014, at 06:49, Sean P. DeNigris s...@clipperadams.com wrote:
In porting the Mechanize web scraping library from Ruby, I started with the
following example:
a.get('http://google.com/') do |page|
In porting the Mechanize web scraping library from Ruby, I started with the
following example:
a.get('http://google.com/') do |page|
search_result = page.form_with(:name = 'f') do |search|
search.q = 'Hello world'
end.submit
It GETs