画像3枚(位置は同じ)をURLを変えながら順次ダウンロードしたい。

おはようございます。
UiPath Studio 2025.0.172STS Community editionのユーザーです。

1.やりたいこと

ECサイトにある下記画像3枚(位置は同じ)をURLを変えながら順次ダウンロードしたい。

2.相談したいこと

・「ダウンロードを待機」アクティビティは使えますでしょうか。(下図参照)

・他に効率的なやり方があればご教示ください :face_holding_back_tears:

画像を見るに、某大手ECサイトだと思われますが、利用規約をお読みになったほうが良いと思われます。
https://www.amazon.co.jp/gp/help/customer/display.html?ref_=hp_left_v4_sib&nodeId=GLSBYFE9MGKKQXXM
もし違うようでしたらごめんなさい。

良い質問ですが違います。Amazonではありません。対象ECサイトのrobots.txtを調べてみましたが、スクレイピングの規制はかかっていないようでした。やはりこのようなケースは「ダウンロードを待機」アクティビティを使うのが一般的でしょうか?

I suggest you to use click and Take Screenshot activity to get the image or you can extract the urls of the images and use them in Download File from URL activity

If you will use wait for download activity then how you’re going to download the image?

Cheers

Hi, Thank you my hasty Hindu brother,:grinning_face_with_smiling_eyes:@bhavesh.choubey

I think there are several ways to detect the URL of an image on a website, but which of the following do you think better?

  1. Using the Get Attribute activity

Open the browser (NApplication Card)

Click the target image

Place the Get Attribute activity

Set the attribute name to “src”

The image URL is usually stored in the src attribute

Store the retrieved result in a String variable

  1. Extracting from the HTML structure

Use the Find Children activity to get all tags

Loop through them (For Each) and use Get Attribute to retrieve the src attribute of each element

While cleaning up my newly purchased e-VITARA.

Like you want to download multiple images so for that you’ve to get urls of multiple images so for this i think 2nd Option is feasible.

Otherwise you can extract using Table Extraction too if it works.

Cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.