Skip to main content

Notifications

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

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

(1) ShareShare
ReportReport
Posted on 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先で表示されているテキスト情報を取得できる方法をご教授いただければ幸いです。

宜しくお願い致します。

  • 【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
    trice602 11,640 on at
    【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
    trice602 11,640 on at
    【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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard