HTTP: get meta value from HTML body of website

%3CLINGO-SUB%20id%3D%22lingo-sub-2969835%22%20slang%3D%22en-US%22%3EHTTP%3A%20get%20meta%20value%20from%20HTML%20body%20of%20website%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2969835%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EI'm%20trying%20to%20build%20a%20flow%20which%20checks%20if%20a%20website%20has%20been%20updated%20within%20the%20last%20x%20days.%3C%2FP%3E%3CP%3EFor%20this%20I%20use%20a%20HTTP%20connector%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22FabvE_0-1637064791522.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F327274i33204AC43F2333B5%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22FabvE_0-1637064791522.png%22%20alt%3D%22FabvE_0-1637064791522.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20searched%20the%20sites%20source%20code%20and%20found%20this%20under%20the%20meta%20data%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%26lt%3Bmeta%20name%3D%22lastModifiedDate%22%20content%3D%222021-10-13T17%3A42%3A22.686Z%22%20%2F%26gt%3B%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20chance%20to%20get%20the%20content%20value%20of%20the%20meta%20%22lastModifiedDate%22%20with%20the%20HTTP%20connector%3F%3C%2FP%3E%3CP%3EThe%20rest%20of%20the%20Flow%20would%20be%20a%20conversion%20to%20a%20date%2Ftime%20format%20and%20check%20if%20the%20date%20is%20younger%20than%20x%20days.%3C%2FP%3E%3CP%3EGreetings%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2969835%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Contributor

Hi,

I'm trying to build a flow which checks if a website has been updated within the last x days.

For this I use a HTTP connector:

FabvE_0-1637064791522.png

I searched the sites source code and found this under the meta data:

 

 

<meta name="lastModifiedDate" content="2021-10-13T17:42:22.686Z"/>

 

 

 

Is there a chance to get the content value of the meta "lastModifiedDate" with the HTTP connector?

The rest of the Flow would be a conversion to a date/time format and check if the date is younger than x days.

Greetings

0 Replies