Re: [Pharo-dev] Zinc bug submitting form via GET?

2014-03-02 Thread Pharo4Stef
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

Re: [Pharo-dev] Zinc bug submitting form via GET?

2014-03-02 Thread Pharo4Stef
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 =

Re: [Pharo-dev] Zinc bug submitting form via GET?

2014-03-02 Thread Sean P. DeNigris
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

Re: [Pharo-dev] Zinc bug submitting form via GET?

2014-03-02 Thread Sven Van Caekenberghe
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 =

Re: [Pharo-dev] Zinc bug submitting form via GET?

2014-03-02 Thread Pharo4Stef
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

Re: [Pharo-dev] Zinc bug submitting form via GET?

2014-03-02 Thread Sven Van Caekenberghe
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|

[Pharo-dev] Zinc bug submitting form via GET?

2014-03-01 Thread Sean P. DeNigris
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