develooper Front page | perl.libwww | Postings from May 2018

Re: Use LWP to access gmail messages

Thread Previous | Thread Next
From:
Shlomi Fish
Date:
May 12, 2018 08:42
Subject:
Re: Use LWP to access gmail messages
Message ID:
20180512111418.1313a6eb@telaviv1.shlomifish.org
Hi A!

Please reply to list if it's a mailing list post - http://shlom.in/reply .

On Fri, 11 May 2018 20:47:19 -0000
"Alicourant KOTE" <ali.kote@orange.sn> wrote:

> Hi everybody,
> 
> I am new to perl but think I love it.
> 
> How can I use LWP to access the google mail web page, select uread messages
> and display them directly in the gmail?
> 
> I do not want to save them somewhere. Just make gmail display the unread
> messages.
> 
>  
> 
> Here are steps:
> 
> 1.      Run Google Chrome;
> 
> 2.      Go to the page http://www.google.com, this will display the page
> https://www.google.com;
> 
> 3.      Find and clic on gmail button in this page;
> 
> 4.      Wait until all the page loads;
> 
> 5.      Select my account in a displayed form (there is a list of 2 accounts
> in a that form: one is my wife's account) and clic on it;
> 
> 6.      Fill in my password and clic Next
> 
> 7.      When all messages are completely loaded, display only those unread.
> 
>  
> 
> I do not want to use WWW:Mechanize because it does not deal will javascript.
> 
> Can hope to be helped?
> 

See http://perl-begin.org/uses/web-automation/ and
https://metacpan.org/release/WWW-Mechanize-Chrome . LWP does not deal with JS
either.

Regards,

>  
> 
> Anyway thanks a lot.
> 
>  
> 
> A.KOTE
> 



-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
http://www.shlomifish.org/humour/bits/New-versions-of-the-GPL/

Take your schedule estimates and multiply them by Pi. Take your expected
profits and divide them by Pi.
    — My father’s mentor’s advice

Please reply to list if it's a mailing list post - http://shlom.in/reply .

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About