Search found 29 matches

by Chilly_Bang
Mon Apr 09, 2018 6:47 pm
Forum: Data Extraction and Web Screen Scraping
Topic: Get image info
Replies: 28
Views: 35628

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: 28
Views: 35628

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: 28
Views: 35628

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: 28
Views: 35628

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: 28
Views: 35628

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: 2226

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: 6899

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: 6899

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" , the...
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: 6899

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> <...
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: 6899

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: 1312

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: 5452

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...
by Chilly_Bang
Thu Sep 10, 2015 7:44 am
Forum: Data Extraction and Web Screen Scraping
Topic: SOLVED: Decode URL entities on extraction
Replies: 3
Views: 5452

SOLVED: Decode URL entities on extraction

Hi My iMacro takes URLs from a csv file, loads them into browser one by one, searchs a HTML element with defined CSS class and, on finding, extracts the content of the HTML element as HTML source code. Then it saves the extracted code together with the URL, where the finding originates from, into cr...
by Chilly_Bang
Tue Jan 27, 2015 9:23 am
Forum: iMacros for Firefox
Topic: Solved: Macro stops if HTTP status code != 200
Replies: 2
Views: 2357

Solved: Macro stops if HTTP status code != 200

Hello! I have a macro, which turns pages one by one and saves files located on the pages. The macro works like expected, if all browsed pages answer with HTTP status code 200, also are available Here is the macro code: VERSION BUILD=8881205 RECORDER=FX TAB T=1 URL GOTO=https://example.com/?page={{!L...