Get string from array \ object in yahoo pipes?

I have a pipe that is trying to retrieve the youtube ID from the YouTube channel channel.

I have:

Fetch Feed -> Sub Element (item.link) -> Truncate (After 1) -> Regex (blah) -> Output

My problem is this:

0 content ABGmhMBBGgw 

I cannot present this output in a string builder because it is an object (maybe an array?).

So, how can I extract the source string from this array of objects that I have now.

+6
source share
2 answers

As an option, you can use the pipe module called "create RSS" and make it a caption from the result of the regular expression.

It will contain the desired string as a header instead of the specified 0, but in any case it will be an array.

0
source

A demo showing how to extract the last video from a Youtube channel and embed it in a web page, everything that was done using javascript and Yahoo Pipe can be found at ... http://lovelogic.net/z_tuts/ytgrab3.html

Just right-click to view the source of the page and find out how JSON from the yahoo tube is decoded, then replaced with HTML, details about the tube itself can be found here http://pipes.yahoo.com/pipes/pipe.info?_id= 19431b877cc39a2d5fe8efa00bd86009

-1
source

Source: https://habr.com/ru/post/907274/


All Articles