src属性がhttpで始まっていないため、HTTPリクエストアクティビティは使えないのでは?

こんにちは
UiPath Studio 2025.0.176STS Community editionのユーザーです。

1.やりたいこと

のページに画像がいくつか組み込まれています。
この画像をすべてダウンロードしたい。

2.悩んでいること

他のサイトで実績のあるワークフロー(添付画像)を修正して使用予定ですが
このサイトの画像ファイル部分をタグ解析すると、

src

のようになっていて、

src=‘https://image.aaa.com/product/NoImage_80x80.jpg’;

のように、src属性がhttpで始まっていないため、HTTPリクエストアクティビティは使えないのでは無いでしょうか。
回答がYESの場合は、HTTPリクエストアクティビティ代替策をご教示ください。

Hey @gorby try with the website link with then append the sub path of the img like if the img src is product/image.png and the website url is https://example.com then try it as https://example.com/product/image.png

Hey, devout Hindu @bhavesh.choubey

Can I use Path.Combine to achieve what you suggested?

Like this,

str_URL=Path.Combine(“https://example.com”, “images/pyramid.png”)

No path.combine if for local folder path you cannot create a url using this you’ve to use simple string concatenation like str_URL = "https://example.com" & "/images/pyramid.png"

1 Like

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