I want to filter out a tag from the code of a page

I am querying the complete html code of the youtube video and I want to get the src link of the video


as shown here:

Do you mean that you are trying to get the url that you are feeding to http request node?

I enter the url -> I get the html code -> I filter the video tag and I want to get the src: link in the payload

Isn't the source link in the url?

In https://www.youtube.com/watch?v=R9bV2MytHr0 (What's new in Node-red 3.0), the "src" is youtubedotcom/c9ef98e4-439f-4780-a987-b62098106431

yes, how can I filter it from a page's source code?

I believe that you should be able to do that using an html node with the appropriate selector. That is not something I do often enough to be able to help with though. Start by looking at the docs to see how to do it.

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