Extract email Body (GMail)

Discussions and Tech Support related to website data extraction, screen scraping and data mining using iMacros.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

Extract email Body (GMail)

by Th3CracKed on Sat Jun 04, 2016 9:08 am

Hi , i try to extract a gmail body but gmail make random id each time!
i'm newbie :(
can someone help me thanks
Th3CracKed
 
Posts: 4
Joined: Sat Jun 04, 2016 9:03 am

Re: Extract email Body (GMail)

by chivracq on Sat Jun 04, 2016 10:23 pm

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)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
chivracq
 
Posts: 6484
Joined: Sat Apr 13, 2013 6:07 am
Location: Amsterdam (NL)

Re: Extract email Body (GMail)

by Th3CracKed on Tue Jun 07, 2016 9:29 am

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
Th3CracKed
 
Posts: 4
Joined: Sat Jun 04, 2016 9:03 am

Re: Extract email Body (GMail)

by janib4all on Tue Jun 07, 2016 1: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
janib4all
 
Posts: 132
Joined: Tue Jul 20, 2010 11:44 pm
Location: Karachi, Sindh, Pakistan


Return to Data Extraction and Web Screen Scraping

Who is online

Users browsing this forum: No registered users and 3 guests

-->