Skip to main content

Notifications

Community site session details

Community site session details

Session Id : EBjIwy4rwoiTBz9VVFfw13
Power Platform Community / Forums / Power Automate - Process Mining / 【Power Automate】「すべての ...
Power Automate - Process Mining
Suggested answer

【Power Automate】「すべての RSS フィード項目を一覧表示します」で検索し取得したURL先のテキスト情報を取得したい

Like (1) ShareShare
ReportReport
Posted on 5 Feb 2025 00:04:24 by

はじめまして。
こちら確認いただきありがとうございます。

■やりたいこと
アクション:「すべての RSS フィード項目を一覧表示します」で検索し取得したURL先で表示されているテキスト情報をすべて取得したいと考えてます。

■現在の状況

アクション:「すべての RSS フィード項目を一覧表示します」 でURL情報取得
 ↓
アクション:「HTTP」 でURLの先で表示されているテキスト情報取得 ★エラーが発生する!
<エラー内容>

エラーは、依存アクションが成功しなかったためにアクションが失敗したことを示しています。これは、HTTPアクションが期待されるコンテンツの代わりにリダイレクトレスポンス(ステータスコード302)を受け取ったことが原因である可能性が高いです。これを修正するには、HTTPアクションで使用されているURIが正しいかどうか、そしてレスポンスヘッダーに提供された新しい場所にリダイレクトすべきかどうかを考慮してください。

■検証内容
アクション:「すべての RSS フィード項目を一覧表示します」 で取得しているURL情報を普通にブラウザで開くと取得したURLから変化することが判明。

変更後のURLで現在構築したアクションを実行すると正常動作をすることが確認できた。
<サンプル:取得したURL>
https://news.google.com/rss/articles/CBMiYEFVX3lxTFBHOU8xU3ZQeWZsdEZjRHpkakQwREhfc1pEUDhjZFdyY0RWaFBrQVpDTUw5WVkyU1Q1Nlk3ZVQxWUZIZGdpdUl1bjM4Vmw1dHV1bEhpUTcwRGlhZlUwLS1oYw?oc=5
<サンプル:変化後のURL>

■求めていること

アクション:「すべての RSS フィード項目を一覧表示します」 で取得しているURL情報を変化後のURLに置き換える方法をご教授いただければ幸いです。
それか全く異なる方法でも構いませんので「すべての RSS フィード項目を一覧表示します」 で取得しているURL先で表示されているテキスト情報を取得できる方法をご教授いただければ幸いです。

宜しくお願い致します。

  • André Arnaud de Calavon Profile Picture
    69 on 07 Feb 2025 at 22:29:37
    【Power Automate】「すべての RSS フィード項目を一覧表示します」で検索し取得したURL先のテキスト情報を取得したい
    Hi,

    Can you please translate your question into English? All volunteers on this forum will then be able to understand your question and try to help you.
  • Suggested answer
    trice602 Profile Picture
    13,723 Super User 2025 Season 1 on 05 Feb 2025 at 03:20:42
    【Power Automate】「すべての RSS フィード項目を一覧表示します」で検索し取得したURL先のテキスト情報を取得したい
    Hi,
     
    Here's the Power Automate for Desktop flow.  So here I have all my URLs in column A that I want to get the updated URL for (you can see the results of the flow written in column B).
     
     
     
     
    The flow.
     
     
    WebAutomation.LaunchEdge.LaunchEdge Url: $'''https://www.bing.com''' WindowState: WebAutomation.BrowserWindowState.Normal ClearCache: False ClearCookies: False WaitForPageToLoadTimeout: 60 Timeout: 60 PiPUserDataFolderMode: WebAutomation.PiPUserDataFolderModeEnum.AutomaticProfile TargetDesktop: $'''{\"DisplayName\":\"Local computer\",\"Route\":{\"ServerType\":\"Local\",\"ServerAddress\":\"\"},\"DesktopType\":\"local\"}''' BrowserInstance=> Browser
    Excel.Attach DocumentName: $'''URLs2.xlsx''' Instance=> ExcelInstance
    Excel.ReadFromExcel.ReadCells Instance: ExcelInstance StartColumn: $'''A''' StartRow: 2 EndColumn: $'''A''' EndRow: 3 ReadAsText: False FirstLineIsHeader: False RangeValue=> ExcelData
    LOOP FOREACH CurrentItem IN ExcelData
        Excel.GetFirstFreeRowOnColumn Instance: ExcelInstance Column: $'''B''' FirstFreeRowOnColumn=> FirstFreeRowOnColumn
        WebAutomation.GoToWebPage.GoToWebPage BrowserInstance: Browser Url: CurrentItem WaitForPageToLoadTimeout: 60
        WAIT 10
        WebAutomation.GetDetailsOfWebPage BrowserInstance: Browser DetailsType: WebAutomation.DetailsType.URLAddress Details=> WebPageProperty
        Excel.WriteToExcel.WriteCell Instance: ExcelInstance Value: WebPageProperty Column: $'''B''' Row: FirstFreeRowOnColumn
    END
    
     
    My test worked well and captured the URL twice.
     
     
  • Suggested answer
    trice602 Profile Picture
    13,723 Super User 2025 Season 1 on 05 Feb 2025 at 03:07:19
    【Power Automate】「すべての RSS フィード項目を一覧表示します」で検索し取得したURL先のテキスト情報を取得したい
    Hi,
     
    If I understand correctly, I recommend that you use Power Automate for Desktop and loop through the URLs.  From there you can open up each URL, wait for it to load, then capture the uploaded URL you want to capture.  Then you can write the URL to a data table or write directly to Excel as you go but either way, that would be the approach I would recommend.

    ------------------------------------------------

     

     

    ⭐ If this was helpful, please like and mark as a verified answer to help others find this too!

     

     

    Always glad to help! 💯💯💯💯💯

     

    Tom

     

    Follow me on LinkedIn - Thomas Rice, PMP | LinkedIn

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,342 Most Valuable Professional

Leaderboard
Loading started