Cant Save/Download Image

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
iMacros EOL - Attention!

The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.

Thank you again for your business and support.

Sincerely,
The Progress Team

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
jumbocaf
Posts: 3
Joined: Mon Dec 02, 2019 3:01 pm

Cant Save/Download Image

Post by jumbocaf » Mon Dec 02, 2019 3:10 pm

I am having problem saving an image using imacros, the problem the image will be saved as page not found as .jpg.

I am using imacros for firefox 8.9.7

Code: Select all

VERSION BUILD=8970419 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
SET !TIMEOUT_PAGE 200

URL GOTO=https://katalogpromosi.com/cfc-promo-kalender-2020-gratis-kupon-hemat-hingga-rp-300-000/
WAIT SECONDS=5
ONDOWNLOAD FOLDER=c:\test\img FILE=*
TAG POS=6 TYPE=IMG ATTR=SRC:https://katalogpromosi.com/wp-content/uploads/* CONTENT=EVENT:SAVEPICTUREAS
WAIT SECONDS=5
I tried SAVEPICTUREAS, SAVEITEM, still fail to get the image
Any idea whats wrong?
Last edited by jumbocaf on Tue Dec 03, 2019 2:07 am, edited 1 time in total.
User avatar
thecoder2012
Posts: 446
Joined: Sat Aug 15, 2015 5:14 pm
Location: Internet
Contact:

Re: Cant Save/Download Image

Post by thecoder2012 » Mon Dec 02, 2019 7:38 pm

jumbocaf wrote:
Mon Dec 02, 2019 3:10 pm
I am having problem saving an image using imacros, the problem the image will be saved as page not found as .jpg.
I have tested your script and I have one image with ~10kb in three tries. It's unspecified which images you wish!?
jumbocaf wrote:
Mon Dec 02, 2019 3:10 pm
I am using imacros for firefox 8.9.7
Browser? Version? System?

jumbocaf wrote:
Mon Dec 02, 2019 3:10 pm
I tried SAVEPICTUREAS, SAVEITEM, still fail to get the image
Any idea whats wrong?
Set ERRORIGNORE to NO for your tests.
You can use the function SAVE_ELEMENT_SCREENSHOT as alternative.
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me! :idea:
chivracq
Posts: 10301
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Cant Save/Download Image

Post by chivracq » Tue Dec 03, 2019 1:43 am

jumbocaf wrote:
Mon Dec 02, 2019 3:10 pm
I am having problem saving an image using imacros, the problem the image will be saved as page not found as .jpg.

I am using

Code: Select all

imacros for firefox 8.9.7

Code: Select all

VERSION BUILD=8970419 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
SET !TIMEOUT_PAGE 200

URL GOTO=https://katalogpromosi.com/cfc-promo-kalender-2020-gratis-kupon-hemat-hingga-rp-300-000/
WAIT SECONDS=5
ONDOWNLOAD FOLDER=c:\test\img FILE=*
TAG POS=1 TYPE=IMG ATTR=SRC:https://katalogpromosi.com/wp-content/uploads/* CONTENT=EVENT:SAVEPICTUREAS
WAIT SECONDS=5
I tried SAVEPICTUREAS, SAVEITEM, still fail to get the image
Any idea whats wrong?
thecoder2012 wrote:
Mon Dec 02, 2019 7:38 pm
jumbocaf wrote:
Mon Dec 02, 2019 3:10 pm
I am having problem saving an image using imacros, the problem the image will be saved as page not found as .jpg.
I have tested your script and I have one image with ~10kb in three tries. It's unspecified which images you wish!?
jumbocaf wrote:
Mon Dec 02, 2019 3:10 pm
I am using imacros for firefox 8.9.7
Browser? Version? System?

jumbocaf wrote:
Mon Dec 02, 2019 3:10 pm
I tried SAVEPICTUREAS, SAVEITEM, still fail to get the image
Any idea whats wrong?
Set ERRORIGNORE to NO for your tests.
You can use the function SAVE_ELEMENT_SCREENSHOT as alternative.

Yep, indeed, @OP, I was a bit "busy" just after I approved your Post (it's my BDay today... :wink: ), but yep, exact same Reply/Feedback like @thecoder2012...:

=> FCIM...! :mrgreen: (Read my Sig...)

=> And same about disabling '!ERRORIGNORE'...

'SAVE_ELEMENT_SCREENSHOT' => Ah-ah...!, the "Captcha Specialist" is talking, ah-ah...! :wink: :shock:

>>>

And that Site is veeeeery slow, takes about 2 Min to load the main-Page, I didn't do any Testing on it (yet...?), but you are "in good hands" with Advanced User @thecoder2012, I'll have a (deeper) Look/intervene again if you both get "stuck"... :wink:
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
jumbocaf
Posts: 3
Joined: Mon Dec 02, 2019 3:01 pm

Re: Cant Save/Download Image

Post by jumbocaf » Tue Dec 03, 2019 2:06 am

Error loading page https://katalogpromosi.com/wp-content/u ... 112019.jpg, The error is (HTTP status code 404), line 6 (Error code: -933)

SAVE_ELEMENT_SCREENSHOT works, but browser needs to be opened in full screen to get bigger image size. Is SAVEPICTUREAS not working in firefox?

Firefox browser ver 45.9.0, windows 10

I want to download the main image.

is it because of firefox? I tried same script on imacros browser, it works fine
chivracq
Posts: 10301
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Cant Save/Download Image

Post by chivracq » Tue Dec 03, 2019 2:40 am

jumbocaf wrote:
Tue Dec 03, 2019 2:06 am
Error loading page https://katalogpromosi.com/wp-content/u ... 112019.jpg, The error is (HTTP status code 404), line 6 (Error code: -933)

SAVE_ELEMENT_SCREENSHOT works, but browser needs to be opened in full screen to get bigger image size. Is SAVEPICTUREAS not working in firefox?

Firefox browser ver 45.9.0, windows 10

I want to download the main image.

is it because of firefox? I tried same script on imacros browser, it works fine

"FCIM" also applies (for me) to your parallel Thread on SOF: (Same Quality "expected" on all (Tech) Forums... :roll: )
- imacros cant download image [EDIT: Link is now dead, Qt/Thread deleted by Author... :shock: ]
... where I don't see the "Use" for obfuscating the Site into "example.com", we can't do any Testing on 'example.com', tja..., ah-ah...! :roll:

+ Any chance you could spell "iMacros" correctly...? (=> x4 on SOF, + x3 on our Forum...) :wink:

=> FCI:

Code: Select all

iMacros for FF v8.9.7, FF v45.9.0, Win10.
>>>

v8.9.7 for FF still works fine until FF v55.0.3 btw, no "real" Reason to stay at FF45, I would think, unless you are using 'FILTER' on very large Pages (with 1000's of 'IMG' Elements), ... which got broken on/from FF52...

But hum, if I remember correctly, the Format of FF-Profiles changed between FF45 and FF46, I didn't encounter any Pb's myself after updating from FF45 to FF46 "at that time", but yep, good Idea anyway to keep a Backup of your current FF45 Profile(s)..., like I did also... :wink:

Oh yep, and Multi-Login-Authentication (for a same Site) changed a bit also after FF45, but was easy to "rectify" from 2 easy (to find) Settings in 'about:config'... (Took me less than 2 Min to "fix" then...) :!:
Last edited by chivracq on Tue Dec 03, 2019 10:57 pm, edited 1 time in total.
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
User avatar
thecoder2012
Posts: 446
Joined: Sat Aug 15, 2015 5:14 pm
Location: Internet
Contact:

Re: Cant Save/Download Image

Post by thecoder2012 » Tue Dec 03, 2019 8:24 pm

chivracq wrote:
Tue Dec 03, 2019 2:40 am
v8.9.7 for FF still works fine until FF v55.0.3 btw, no "real" Reason to stay at FF45, I would think, unless you are using 'FILTER' on very large Pages (with 1000's of 'IMG' Elements), ... which got broken on/from FF52...
All old FF are gone in my opinion. Security risk! Better Pale Moon, Basilisk or Waterfox. :lol:
jumbocaf wrote:
Tue Dec 03, 2019 2:06 am
SAVE_ELEMENT_SCREENSHOT works, but browser needs to be opened in full screen to get bigger image size.
Then click on your image. :wink:
jumbocaf wrote:
Tue Dec 03, 2019 2:06 am
I want to download the main image.
Example with SAVEPICTUREAS and your main image:

Code: Select all

VERSION BUILD=8970419 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
SET !TIMEOUT_PAGE 200

URL GOTO=https://katalogpromosi.com/cfc-promo-kalender-2020-gratis-kupon-hemat-hingga-rp-300-000/
WAIT SECONDS=5
ONDOWNLOAD FOLDER=c:\test\img FILE=*
TAG POS=1 TYPE=IMG ATTR=CLASS:alignnone<SP>size-full*&&SRC:https://katalogpromosi.com/wp-content/uploads/* CONTENT=EVENT:SAVEPICTUREAS
WAIT SECONDS=5
Tested with Basilisk 2019.10.31 (64-Bit), Win8.1 (64-Bit) and iMacros 8.9.7
jumbocaf wrote:
Tue Dec 03, 2019 2:06 am
is it because of firefox? I tried same script on imacros browser, it works fine
I think iMacros Browser (IE/Edge engine) has not the same image sequence as position but I'm unsure.
Your website has multiple targets with your img src field in my tests (=your code is not specific enough for your main image).
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me! :idea:
chivracq
Posts: 10301
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Cant Save/Download Image

Post by chivracq » Tue Dec 03, 2019 10:06 pm

thecoder2012 wrote:
Tue Dec 03, 2019 8:24 pm
chivracq wrote:
Tue Dec 03, 2019 2:40 am
v8.9.7 for FF still works fine until FF v55.0.3 btw, no "real" Reason to stay at FF45, I would think, unless you are using 'FILTER' on very large Pages (with 1000's of 'IMG' Elements), ... which got broken on/from FF52...
All old FF are gone in my opinion. Security risk! Better Pale Moon, Basilisk or Waterfox. :lol:

Yep, sure, I agree... I was only "reacting" on the fact that @OP was still at FF45... :wink:

Hum..., I "really" need to give 'Basilisk' a try one of those days, ah-ah...! :!: :idea: :!:

I already use 'PM', but that I deliberately keep at PM v26.3.3 (=FF47 for Patch Level), in order to still be able to use v8.8.2 for FF and especially the 'FILTER' Command that doesn't work anymore "for me" in v8.9.7 + FF55 for "large" Pages with 1000's of 'IMG' Elements... :roll:
And since about 2 months, I now rely even more heavily on that Command as I now use a very limited (Mobile) Int. Co. with only 5Gb per month, so about 99% of the more than 50,000 Lines I run daily, run in 'FILTER=ON' Mode to "save" as much Data as possible from my Data-Plan, and for Speed also a bit... :roll:

And before "switching" to PM28, I would first need to check if 'FILTER' still works in this Version with v8.9.7 for FF, but I'm "afraid" 'PM' will "also" act like "a pain in the a$$" between PM26 + PM28 and trying to run both at the same time, like FF does between FF55 and FF[62-70], so 'Basilisk' as a "New" Browser and different Engine might be the best Solution for me... I guess that will be my XMas "Present" for myself, ah-ah...!! :P 8) 8) :wink:

And even if 'FILTER' is broken also in 'Basilisk', I will simply have an extra Browser working, that could take over "what I do" currently in FF55..., oh...!, and I also need Flash to work/be supported in 'Basilisk', ah-ah...!, one more "Thing" I'll need to check, hum...! :twisted:

>>>

Hum, and @OP, deleting your Qt/Thread from SOF instead of simply adding your FCI and the URL like I had asked you (and later sharing the Solution for other Users) is not what I consider "correct Use" of a TechForum... :shock:
It's perfectly OK to post your Qt on several Tech Forums, if you want to increase your "Chances" to get some Help/Answers, as long as you maintain the same "Quality" in both Forums... But hum..., OK, fair enough... :|
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
jumbocaf
Posts: 3
Joined: Mon Dec 02, 2019 3:01 pm

Re: Cant Save/Download Image

Post by jumbocaf » Wed Dec 04, 2019 6:02 am

The reason I still use FF45 because it comes with Tor browser and the version I know which can run iMacros. The newer Tor Firefox disable the iMacros addon
Private Browsing:iMacros disabled due to private browsing
.

I deleted the Qt in SOF Forum because its exactly same qt as here. :)
User avatar
thecoder2012
Posts: 446
Joined: Sat Aug 15, 2015 5:14 pm
Location: Internet
Contact:

Re: Cant Save/Download Image

Post by thecoder2012 » Tue Jan 21, 2020 3:28 pm

jumbocaf wrote:
Wed Dec 04, 2019 6:02 am
The reason I still use FF45 because it comes with Tor browser and the version I know which can run iMacros. The newer Tor Firefox disable the iMacros addon
See Use tor with imacros for TOR with Basilisk/Palemoon/Waterfox.
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me! :idea:
Post Reply