Download Images and Files to Amazon S3 (for all Paid plans)

ParseHub is able to integrate with your Amazon S3 account and directly extract images and files from a run, and automatically upload them to your Amazon S3.

Using Amazon S3 integration to extract an image

1) Click the profile dropdown on the menu screen, and select Integrations

2017-03-17_15-32-20.png

3) Click on Amazon S3 to choose the integration.

2017-03-17_15-35-39.png

4) Click on the Enable button to activate the integration.

2017-03-17_15-37-57.png

5) Enter your Amazon S3 credentials when prompted to log in. You'll be notified if the integration is successful.

2017-03-17_15-40-25.png

 

6) Press the + button and add a select, or relative select command

2017-03-17_15-54-06.png

 

7) Select an image on the page

2017-03-17_15-52-36.png

 

8) Hold shift and press the + button that appears when you hover over the new selection. Add an extract command.

2017-03-17_15-59-49.png

 

9) In the text box underneath the Extract dropdown, input $e.screenshotToS3()

2017-03-17_16-16-01.png

 

Download a File

To download a file from a run into your Amazon S3, do as above with any element you want to download, such as PDF links, swf files or otherwise. 

Select the download link on the page, press the + button, add an extract command. Paste $e.downloadToS3() in the extract text box.

Please note this function is applicable on the websites which allow you to download files through a download link on the web page. If you are interested in the images which are embedded on the web page, you should use the function which was mentioned in the first section:

$e.screenshotToS3()

2017-03-17_16-35-35.png

 

Specify a Folder and the MaxTime

 
Both of the functions above can also take two additional parameters to specify the name of the folder you would like to download or save the screenshot to and the maximum amount of time (maxtime) you would like the function to run:
  • $e.downloadToS3(folder,maxtime)
  • $e.screenshotToS3(folder,maxtime)

Have more questions? Submit request!

0 Comments

Article is closed for comments.