Search found 17 matches

by Chilly_Bang
Wed May 16, 2018 8:19 am
Forum: Data Extraction and Web Screen Scraping
Topic: Get image info
Replies: 18
Views: 3899

Re: Get image info

Well, for those who needs quick and dirty solution; take Notepad++ and
- Search for string,
- bookmark lines with matches,
- delete bookmarked lines-

For other who is looking for this updated solution - hope for TheCoder2012 will coming :)
by Chilly_Bang
Tue May 15, 2018 9:06 am
Forum: Data Extraction and Web Screen Scraping
Topic: Get image info
Replies: 18
Views: 3899

Re: Get image info

Hi guys, @thecoder2012 & chivracq ! I'm now running this imacro for purposes i've planned - it rocks, but... it is a bit more detailed as i can handle its results. The thing is: it gets even images and image info, which are not "normal" images, but are as data:image...base64 implemented. Could you g...
by Chilly_Bang
Tue Apr 10, 2018 9:23 am
Forum: Data Extraction and Web Screen Scraping
Topic: Get image info
Replies: 18
Views: 3899

Re: Get image info

Whoohaa, i see the light! The whole working code is: VERSION BUILD=8881205 RECORDER=FX SET !TIMEOUT_STEP 0 SET !ERRORIGNORE YES TAB T=1 SET !DATASOURCE pages.csv SET !DATASOURCE_COLUMNS 1 SET !LOOP 1 SET !DATASOURCE_LINE {{!LOOP}} URL GOTO={{!COL1}} URL GOTO=javascript:(function(){let<SP>di<SP>=<SP>...
by Chilly_Bang
Mon Apr 09, 2018 6:47 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Get image info
Replies: 18
Views: 3899

Re: Get image info

chivracq Wow, it is already pretty impressive! Ah, just read your message to its end - sad situation with naturalWidth / naturalHeight ...:( Maybe this would help: found a chrome extension , which reads all, really all image data i need from the current url and writes it into csv - maybe the code o...
by Chilly_Bang
Mon Apr 09, 2018 7:29 am
Forum: Data Extraction and Web Screen Scraping
Topic: Get image info
Replies: 18
Views: 3899

Re: Get image info

thecoder2012 I was thinking in the same way, to get width/height with regex, but there are some problems with it: - images loading with CSS aren't there, - images without size declaration aren't there, - and, very important: i need absolutely to get naturalWidth and naturalHeight of images - browse...
by Chilly_Bang
Sat Apr 07, 2018 9:45 am
Forum: Data Extraction and Web Screen Scraping
Topic: Get image info
Replies: 18
Views: 3899

Re: Get image info

chivracq Yes, i was meaning Shugar@SOF too :) Seen some solutions he provided in Javascript - really awesome, impressive and short, JS magic in its best. In general - i'm very often struggling with tasks, where an iMacros access to browser function would be a simplest and easiest way to get stuff d...
by Chilly_Bang
Sat Apr 07, 2018 12:26 am
Forum: Data Extraction and Web Screen Scraping
Topic: Get image info
Replies: 18
Views: 3899

Re: Get image info

@chivracq wow, really sorry, for late answer (was at a kind of gig too), and for that the task forced your hardware to crush, smoke and noize. The thread at SOF is by me - have no much hope to get an answer at SOF, but i know there one single guy, who is real imacros magician. But he wasn't there fo...
by Chilly_Bang
Thu Apr 05, 2018 6:04 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Get image info
Replies: 18
Views: 3899

Get image info

Hi
I'm on Win7x64, FF 52.7.3x64, iMacros 9.0.3

FF allows displaying of an image list with according image data, like on screenshot:
Image
How to access all available image infos with iMacros? I would like to it into CSV.
by Chilly_Bang
Mon Sep 19, 2016 9:51 am
Forum: Data Extraction and Web Screen Scraping
Topic: Extraction not possible since 9.0.3
Replies: 0
Views: 868

Extraction not possible since 9.0.3

Hi Imacros 9.0.3, Win7x64, FF 48.0.2 in use. Example imacros doesn't work: on running any of example iMacro i get errors like Page loading timeout, URL: null, line: 6 (Error code: -802) Internet works, all pages are loaded properly. Since update to 9.0.3 extracting imacros which always have worked, ...
by Chilly_Bang
Tue Feb 23, 2016 10:08 am
Forum: iMacros for Firefox
Topic: Solved: Count the number of HTML elements before match
Replies: 6
Views: 2952

Re: Count the number of HTML elements before match

Finally, after many nightly tries and errors and with sudden help of some ninjas, there was following code born. It works like: it gives own numbers to all divs with given name(getElementByTagName) and then count them until and after appearance of main element, which should be extracted: TAB T=1 TAB...
by Chilly_Bang
Sun Feb 21, 2016 8:05 pm
Forum: iMacros for Firefox
Topic: Solved: Count the number of HTML elements before match
Replies: 6
Views: 2952

Re: Count the number of HTML elements before match

can't find any working example of split() , which would point me to solution. Can you give me any? To relate it to my code example: The missing part should extract the whole content of div class="all" , then count all div class="g" until occurrence of H3 class="r" , then write their number into expo...
by Chilly_Bang
Sun Feb 21, 2016 4:58 pm
Forum: iMacros for Firefox
Topic: Solved: Count the number of HTML elements before match
Replies: 6
Views: 2952

Re: Count the number of HTML elements before match

CIM == Sig i've had better mention it in the problem description: neither the divs, which i want to count, are nested in H3, which i scrape, nor vise versa, H3 is not nested in any of div. It is like: <div class="all"> <div class="g">...</div> <div class="g">...</div> <H3 class="r"><a href="URL-to-e...
by Chilly_Bang
Sat Feb 20, 2016 9:55 pm
Forum: iMacros for Firefox
Topic: Solved: Count the number of HTML elements before match
Replies: 6
Views: 2952

Solved: Count the number of HTML elements before match

Hi I search on the site a HTML element, like H3, if it exists i write the href URL from its content into the file - it works, here is it: SET !ERRORIGNORE YES TAB T=1 TAB CLOSEALLOTHERS URL GOTO=https://www.google.de/?gws_rd=ssl WAIT SECONDS=2 TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:f ATTR=NAME:q CONTEN...
by Chilly_Bang
Mon Sep 14, 2015 7:34 am
Forum: Data Extraction and Web Screen Scraping
Topic: Write data keeping column headings and order from datasource
Replies: 0
Views: 537

Write data keeping column headings and order from datasource

Hi My iMacros works like a charme only for one given datasource file, but i want to rework the imacros to work with different datasource files. Each of my datasource files has different amount and headings of columns: the one could have berlin,hamburg url1,url2 another one could have hamburg,munich,...
by Chilly_Bang
Fri Sep 11, 2015 7:42 am
Forum: Data Extraction and Web Screen Scraping
Topic: SOLVED: Decode URL entities on extraction
Replies: 3
Views: 2859

Re: SOLVED: Decode URL entities on extraction

Hi chivracq, thank you for taking part! I'm using FF40.0.3 on Win7 machine. I don't known an exact version of my iMacros, and VERSION BUILD=8881205 i set up cause i read somewhere it provides a good compatibility - it is not necessarily true, just a sign of my cluelessness. For all, who will try and...