Sean,
On 02 Mar 2014, at 12:44, Sven Van Caekenberghe wrote:
> Hi Sean,
>
> On 02 Mar 2014, at 06:49, Sean P. DeNigris 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 = pa
On 02 Mar 2014, at 12:42, Sean P. DeNigris 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 is the very
Hi Sean,
On 02 Mar 2014, at 06:49, Sean P. DeNigris 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 world'
>
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 wrot
which parser will you use to parse HTML?
On 02 Mar 2014, at 06:49, Sean P. DeNigris 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|
>
On 02 Mar 2014, at 06:49, Sean P. DeNigris 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 world'
>end.sub
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
http://www.google.com/search?ie=ISO-8859-1&hl=en