Alistair Grant wrote
> https://github.com/akgrant43/Pharo-Chrome
Wow, that was a wild ride! Lessons learned along the way:
1. On a Mac, to use the snazzy `chrome` terminal command referenced all over
the place in the docs, you must first `alias chrome="/Applications/Google\
Chrome.app/Contents/Mac
exampleNavigation
| chrome page logger |
logger := InMemoryLogger new.
logger start.
chrome := GoogleChrome new
debugOn;
debugSession;
open;
yourself.
page := chrome tabPages first.
page enablePage.
page enableDOM.
page navigateTo: 'http://pharo.org'.
page getDocument.
page getMissingChildren.
page
Hi alistair
this is cool.
Do you have one little example so that we can see how we can use it?
Stef
On Sat, Nov 11, 2017 at 4:38 PM, Alistair Grant wrote:
> On 9 November 2017 at 00:00, Kjell Godo wrote:
>> i like to collect some newspaper comics from an online newspaper
>> but it takes
On 9 November 2017 at 00:00, Kjell Godo wrote:
> i like to collect some newspaper comics from an online newspaper
> but it takes really long to do it by hand by hand
> i tried Soup but i didn’t get anywhere
> the pictures were hidden behind a script or something
> is there anything to do
Indeed the interaction with the inspector is great.
Now could you still improve soup?
What is your smalltalkhub account?
Stef
On Thu, Nov 9, 2017 at 11:12 AM, Siemen Baader wrote:
>
>
> On Wed, Nov 8, 2017 at 10:45 PM, PBKResearch
> wrote:
>>
>> Siemen
>>
>> Stef should have added that XPath dep
You should try the Xpath tutorial because the code of the magic the
gathering was quite ugly generated html and I could find my way.
Stef
On Thu, Nov 9, 2017 at 12:00 AM, Kjell Godo wrote:
> i like to collect some newspaper comics from an online newspaper
> but it takes really long to do it
On Wed, Nov 8, 2017 at 10:45 PM, PBKResearch
wrote:
> Siemen
>
> Stef should have added that XPath depends on using Monty's XMLParser
> suite. I tried your snippet on XMLDOMParser, and it parses correctly. I
> always use XMLHTMLParser for parsing HTML, because I can always see the
> exact relatio
...@lists.pharo.org] On Behalf Of
Kjell Godo
Sent: 08 November 2017 23:00
To: Any question about pharo is welcome
Subject: Re: [Pharo-users] Soup bug(fix)
i like to collect some newspaper comics from an online newspaper
but it takes really long to do it by hand by hand
i tried Soup but i
i like to collect some newspaper comics from an online newspaper
but it takes really long to do it by hand by hand
i tried Soup but i didn’t get anywhere
the pictures were hidden behind a script or something
is there anything to do about that? i don’t want to collect them all
i ha
users] Soup bug(fix)
Hi Siemen
let me know your loging and I can add you to commit. Paul is also taking care
of Soup.
Now I like XPath for scraping. Did you see the tutorial I wrote with Peter.
STef
On Wed, Nov 8, 2017 at 2:17 PM, Siemen Baader wrote:
> Hi all,
>
> who maintains Soup, t
Hi Siemen
let me know your loging and I can add you to commit. Paul is also
taking care of Soup.
Now I like XPath for scraping. Did you see the tutorial I wrote with Peter.
STef
On Wed, Nov 8, 2017 at 2:17 PM, Siemen Baader wrote:
> Hi all,
>
> who maintains Soup, the HTML parser? Stef?
>
> It
Hi all,
who maintains Soup, the HTML parser? Stef?
It seems to auto-close (and ) tags when nested inside another
element. I wrote this test that fails:
testNestedButton
"this works with nested tags instead of and when there
is no enclosing at all. but here is auto-closed."
"a does
12 matches
Mail list logo