Extract email Body (GMail)

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
Th3CracKed
Posts: 4
Joined: Sat Jun 04, 2016 4:03 pm

Extract email Body (GMail)

Post by Th3CracKed » Sat Jun 04, 2016 4:08 pm

Hi , i try to extract a gmail body but gmail make random id each time!
i'm newbie :(
can someone help me thanks
chivracq
Posts: 9412
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Extract email Body (GMail)

Post by chivracq » Sun Jun 05, 2016 5:23 am

Th3CracKed wrote:Hi , i try to extract a gmail body but gmail make random id each time!
i'm newbie :(
can someone help me thanks
Rhhho, CIM...! :mrgreen: and search the Forum for "Dynamic ID"...! :idea:
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE').
- I don't even read the Qt if that (required) Info is not mentioned...!
- Script & URL help a lot for more "educated" Help...
Th3CracKed
Posts: 4
Joined: Sat Jun 04, 2016 4:03 pm

Re: Extract email Body (GMail)

Post by Th3CracKed » Tue Jun 07, 2016 4:29 pm

I found a temporary solution !
i redirect my mails to tutanota mail and i extract the mail body
This solution works well for me cuz Even if i found the solution for gmail sometimes the mail doesn't appear i must refresh and i'm not sure if i can refresh until the mail appear on gmail
Any way thanks for helping i remark that you help everyone on this forum great work :D
janib4all
Posts: 132
Joined: Wed Jul 21, 2010 6:44 am
Location: Karachi, Sindh, Pakistan
Contact:

Re: Extract email Body (GMail)

Post by janib4all » Tue Jun 07, 2016 8:26 pm

You need to acquire the primary DIV and then extract further details using JS Match() function.

Tag Pos=1 Type=Div Attr=contenteditable:true&&aria-label:Message<sp>Body Extract=Htm
set DynamicID eval("var eXt = '{{!extract}}'.match(/id=.(.+?)..class/); eXt[1];")
Set !Extract Null

{{DynamicID}} is your solution!
Hire the BoT-fReeak!
botspecialist.blogspot.com
Post Reply