Yahoo объявил о закрытии Pipes 30 сентября

в 7:19, , рубрики: end-of-life, Yahoo, всё, метки: , ,

Начиная с 30 августа 2015 года, пользователи Yahoo Pipes больше не смогут создавать новые «трубы» (pipes). До 30 сентября 2015 года сервис будет работать в режиме «только чтение», а 30 сентября будет полностью закрыт.

Вы сможете скачать созданные вами «трубы», указав их Pipe-ID (_id) и требуемый формат (_out=json) в URL вида: pipes.yahoo.com/pipes/pipe.info

Например,
pipes.yahoo.com/pipes/pipe.info?_id=ZKJobpaj3BGZOew9G8evXg&_out=json

Вопросы касательно данной новости можно задавать на форуме разработчиков Yahoo Developer Forum for Pipes.

Прим. переводчика
Возможные альтернативы Yahoo Pipes приведены, например, на этой странице (на англ.). Рекомендую обратить внимание на Pipe2Py — переводит скачанный JSON в скрипт на Python, но необходим собственный сервер для использования (бесплатный Google App Engine должен подойти).

Если кто-то желает создать собственный Pipes, то вот небольшой и поверхностный анализ того, что отдает Yahoo:

«Трубы» скачиваются в следующем виде —

JSON (pipe)
{
  "PIPE": {
    "name": "Yahoo Finance Stock Quote Watch List Feed w/Chart",
    "domain": [
      "yahoo.com",
      "finance.yahoo.com",
      "download.finance.yahoo.com"
    ],
    "user": [
      "watchlist",
      "stocks",
      "finance",
      "stock",
      "quote",
      "chart"
    ],
    "pubtime": "2011-06-30 11:23:39",
    "published": 1,
    "format": [
      "media",
      "csv"
    ],
    "description": "Build your own watch list. Displays last quote and chart. View-source and customize as needed. Best viewed as RSS. (Get as RSS)",
    "runs": 38980,
    "status": "A",
    "guid": "ZM4O7UNSXJKID5MSLY42EFKEMM",
    "engineversion": 2,
    "id": "ZKJobpaj3BGZOew9G8evXg",
    "modifiedtime": "2013-03-28 06:09:41",
    "createtime": "2007-12-06 12:59:01",
    "favorited": 110,
    "live": "{"layout":[{"id":"sw-69","xy":[804,380]},{"id":"_OUTPUT","xy":[383,1503]},{"id":"sw-123","xy":[377,85]},{"id":"sw-131","xy":[335,279]},{"id":"sw-177","xy":[177,1278]},{"id":"sw-192","xy":[276,724]},{"id":"sw-217","xy":[274,1042]}],"modules":[{"type":"csv","id":"sw-69","conf":{"URL":{"type":"url","terminal":"URL"},"separator":{"type":"text","value":","},"other_sep":{"value":"","type":"text"},"skip":{"value":"0","type":"number"},"col_row_start":{"value":"1","type":"number"},"col_row_end":{"value":"1","type":"number"},"col_mode":{"type":"text","value":"custom"},"col_name":[{"value":"ticker","type":"text"},{"value":"last","type":"text"},{"value":"date","type":"text"},{"value":"time","type":"text"},{"value":"change","type":"text"},{"value":"open","type":"text"},{"value":"dayhigh","type":"text"},{"value":"daylow","type":"text"},{"value":"dayvolume","type":"text"}]}},{"type":"output","id":"_OUTPUT","conf":{}},{"type":"textinput","id":"sw-123","conf":{"name":{"value":"ticker","type":"text"},"prompt":{"value":"Enter Stock Ticker","type":"text"},"position":{"value":"","type":"number"},"default":{"value":"YHOO,TZOO,BIDU,GOOG,AMTD,ETFC,V,MA,VMW,EMC,C","type":"text"},"debug":{"value":"","type":"text"}}},{"type":"urlbuilder","id":"sw-131","conf":{"BASE":{"value":"http://download.finance.yahoo.com/d/quotes.csv","type":"text"},"PATH":{"value":"","type":"text"},"PARAM":[{"key":{"value":"s","type":"text"},"value":{"type":"text","terminal":"PARAM_1_value"}},{"key":{"value":"f","type":"text"},"value":{"value":"sl1d1t1c1ohgv","type":"text"}},{"key":{"value":"e","type":"text"},"value":{"value":".csv","type":"text"}}]}},{"type":"regex","id":"sw-177","conf":{"RULE":[{"field":{"value":"description","type":"text"},"match":{"value":"^","type":"text"},"replace":{"value":"last: $${last} @ ${time} EST ${date} <br>change: ${change} <br>day high: ${dayhigh} <br>day low: ${daylow} <br>open: ${open} <br>volume: ${dayvolume} <br>${chart}","type":"text"}},{"field":{"value":"title","type":"text"},"match":{"value":"^","type":"text"},"replace":{"value":"${ticker} - last: $${last} @ ${time} EST ${date}","type":"text"}},{"field":{"value":"media:group.media:content.url","type":"text"},"match":{"value":"^","type":"text"},"replace":{"value":"http://ichart.finance.yahoo.com/b?s=${ticker}","type":"text"}},{"field":{"value":"media:group.media:content.media","type":"text"},"match":{"value":"$","type":"text"},"replace":{"value":"image","type":"text"}},{"field":{"value":"y:id.value","type":"text"},"match":{"value":"^","type":"text"},"replace":{"value":"${ticker}-${last}-${date}-${time}","type":"text"}}]}},{"type":"loop","id":"sw-192","conf":{"with":{"value":"","type":"text"},"embed":{"value":{"type":"strconcat","id":"sw-200","conf":{"part":[{"value":"<img src=\"http://ichart.finance.yahoo.com/b?s=","type":"text"},{"subkey":"ticker","type":"text"},{"value":"\">","type":"text"}]}},"type":"module"},"emit_part":{"type":"text","value":"all"},"mode":{"type":"text","value":"assign"},"assign_part":{"type":"text","value":"all"},"assign_to":{"value":"chart","type":"text"}}},{"type":"loop","id":"sw-217","conf":{"with":{"value":"","type":"text"},"embed":{"value":{"type":"strconcat","id":"sw-235","conf":{"part":[{"value":"http://finance.yahoo.com/q?s=","type":"text"},{"subkey":"ticker","type":"text"}]}},"type":"module"},"emit_part":{"type":"text","value":"all"},"mode":{"type":"text","value":"assign"},"assign_part":{"type":"text","value":"all"},"assign_to":{"value":"link","type":"text"}}}],"terminaldata":[{"id":"_OUTPUT","moduleid":"sw-69","data":{"_type":"item","_attr":{"change":{"_type":"number","_count":"9"},"time":{"_type":"datetime","_count":"9"},"date":{"_type":"datetime","_count":"9"},"last":{"_type":"number","_count":"9"},"ticker":{"_type":"text","_count":"9"},"dayhigh":{"_type":"number","_count":"9"},"daylow":{"_type":"number","_count":"9"},"open":{"_type":"number","_count":"9"},"dayvolume":{"_type":"number","_count":"9"},"y:row":{"_type":"number","_count":"9"}}}},{"id":"_OUTPUT","moduleid":"sw-123","data":{"_type":"text","_count":"1"}},{"id":"_OUTPUT","moduleid":"sw-131","data":{"_type":"url","_count":"1"}},{"id":"_OUTPUT","moduleid":"sw-177","data":{"_type":"item","_attr":{"link":{"_type":"url","_count":"9"},"chart":{"_type":"text","_count":"9"},"change":{"_type":"number","_count":"9"},"time":{"_type":"datetime","_count":"9"},"date":{"_type":"datetime","_count":"9"},"media:group":{"_type":"","_attr":{"media:content":{"_type":"","_attr":{"media":{"_type":"text","_count":"9"},"url":{"_type":"url","_count":"9"}}}}},"last":{"_type":"number","_count":"9"},"y:id":{"_type":"","_attr":{"value":{"_type":"text","_count":"9"}}},"ticker":{"_type":"text","_count":"9"},"dayhigh":{"_type":"number","_count":"9"},"description":{"_type":"text","_count":"9"},"daylow":{"_type":"number","_count":"9"},"open":{"_type":"number","_count":"9"},"dayvolume":{"_type":"number","_count":"9"},"y:row":{"_type":"number","_count":"9"},"title":{"_type":"text","_count":"9"}}}},{"id":"_OUTPUT","moduleid":"sw-192","data":{"_type":"item","_attr":{"chart":{"_type":"text","_count":"9"},"change":{"_type":"number","_count":"9"},"time":{"_type":"datetime","_count":"9"},"date":{"_type":"datetime","_count":"9"},"last":{"_type":"number","_count":"9"},"ticker":{"_type":"text","_count":"9"},"dayhigh":{"_type":"number","_count":"9"},"daylow":{"_type":"number","_count":"9"},"open":{"_type":"number","_count":"9"},"dayvolume":{"_type":"number","_count":"9"},"y:row":{"_type":"number","_count":"9"}}}},{"id":"_OUTPUT","moduleid":"sw-217","data":{"_type":"item","_attr":{"link":{"_type":"url","_count":"9"},"chart":{"_type":"text","_count":"9"},"change":{"_type":"number","_count":"9"},"time":{"_type":"datetime","_count":"9"},"date":{"_type":"datetime","_count":"9"},"last":{"_type":"number","_count":"9"},"ticker":{"_type":"text","_count":"9"},"dayhigh":{"_type":"number","_count":"9"},"daylow":{"_type":"number","_count":"9"},"open":{"_type":"number","_count":"9"},"dayvolume":{"_type":"number","_count":"9"},"y:row":{"_type":"number","_count":"9"}}}}],"wires":[{"id":"_w0","src":{"id":"_OUTPUT","moduleid":"sw-69"},"tgt":{"id":"_INPUT","moduleid":"sw-192"}},{"id":"_w1","src":{"id":"_OUTPUT","moduleid":"sw-123"},"tgt":{"id":"PARAM_1_value","moduleid":"sw-131"}},{"id":"_w2","src":{"id":"_OUTPUT","moduleid":"sw-131"},"tgt":{"id":"URL","moduleid":"sw-69"}},{"id":"_w3","src":{"id":"_OUTPUT","moduleid":"sw-177"},"tgt":{"id":"_INPUT","moduleid":"_OUTPUT"}},{"id":"_w4","src":{"id":"_OUTPUT","moduleid":"sw-192"},"tgt":{"id":"_INPUT","moduleid":"sw-217"}},{"id":"_w5","src":{"id":"_OUTPUT","moduleid":"sw-217"},"tgt":{"id":"_INPUT","moduleid":"sw-177"}}]}",
    "abuse": null,
    "module": [
      "regex",
      "textinput",
      "urlbuilder",
      "strconcat",
      "csv",
      "loop"
    ],
    "working": "{"layout":[{"id":"sw-69","xy":[804,380]},{"id":"_OUTPUT","xy":[383,1503]},{"id":"sw-123","xy":[377,85]},{"id":"sw-131","xy":[335,279]},{"id":"sw-177","xy":[177,1278]},{"id":"sw-192","xy":[276,724]},{"id":"sw-217","xy":[274,1042]}],"modules":[{"type":"csv","id":"sw-69","conf":{"URL":{"type":"url","terminal":"URL"},"separator":{"type":"text","value":","},"other_sep":{"value":"","type":"text"},"skip":{"value":"0","type":"number"},"col_row_start":{"value":"1","type":"number"},"col_row_end":{"value":"1","type":"number"},"col_mode":{"type":"text","value":"custom"},"col_name":[{"value":"ticker","type":"text"},{"value":"last","type":"text"},{"value":"date","type":"text"},{"value":"time","type":"text"},{"value":"change","type":"text"},{"value":"open","type":"text"},{"value":"dayhigh","type":"text"},{"value":"daylow","type":"text"},{"value":"dayvolume","type":"text"}]}},{"type":"output","id":"_OUTPUT","conf":{}},{"type":"textinput","id":"sw-123","conf":{"name":{"value":"ticker","type":"text"},"prompt":{"value":"Enter Stock Ticker","type":"text"},"position":{"value":"","type":"number"},"default":{"value":"YHOO,TZOO,BIDU,GOOG,AMTD,ETFC,V,MA,VMW,EMC,C","type":"text"},"debug":{"value":"","type":"text"}}},{"type":"urlbuilder","id":"sw-131","conf":{"BASE":{"value":"http://download.finance.yahoo.com/d/quotes.csv","type":"text"},"PATH":{"value":"","type":"text"},"PARAM":[{"key":{"value":"s","type":"text"},"value":{"type":"text","terminal":"PARAM_1_value"}},{"key":{"value":"f","type":"text"},"value":{"value":"sl1d1t1c1ohgv","type":"text"}},{"key":{"value":"e","type":"text"},"value":{"value":".csv","type":"text"}}]}},{"type":"regex","id":"sw-177","conf":{"RULE":[{"field":{"value":"description","type":"text"},"match":{"value":"^","type":"text"},"replace":{"value":"last: $${last} @ ${time} EST ${date} <br>change: ${change} <br>day high: ${dayhigh} <br>day low: ${daylow} <br>open: ${open} <br>volume: ${dayvolume} <br>${chart}","type":"text"}},{"field":{"value":"title","type":"text"},"match":{"value":"^","type":"text"},"replace":{"value":"${ticker} - last: $${last} @ ${time} EST ${date}","type":"text"}},{"field":{"value":"media:group.media:content.url","type":"text"},"match":{"value":"^","type":"text"},"replace":{"value":"http://ichart.finance.yahoo.com/b?s=${ticker}","type":"text"}},{"field":{"value":"media:group.media:content.media","type":"text"},"match":{"value":"$","type":"text"},"replace":{"value":"image","type":"text"}},{"field":{"value":"y:id.value","type":"text"},"match":{"value":"^","type":"text"},"replace":{"value":"${ticker}-${last}-${date}-${time}","type":"text"}}]}},{"type":"loop","id":"sw-192","conf":{"with":{"value":"","type":"text"},"embed":{"value":{"type":"strconcat","id":"sw-200","conf":{"part":[{"value":"<img src=\"http://ichart.finance.yahoo.com/b?s=","type":"text"},{"subkey":"ticker","type":"text"},{"value":"\">","type":"text"}]}},"type":"module"},"emit_part":{"type":"text","value":"all"},"mode":{"type":"text","value":"assign"},"assign_part":{"type":"text","value":"all"},"assign_to":{"value":"chart","type":"text"}}},{"type":"loop","id":"sw-217","conf":{"with":{"value":"","type":"text"},"embed":{"value":{"type":"strconcat","id":"sw-235","conf":{"part":[{"value":"http://finance.yahoo.com/q?s=","type":"text"},{"subkey":"ticker","type":"text"}]}},"type":"module"},"emit_part":{"type":"text","value":"all"},"mode":{"type":"text","value":"assign"},"assign_part":{"type":"text","value":"all"},"assign_to":{"value":"link","type":"text"}}}],"terminaldata":[{"id":"_OUTPUT","moduleid":"sw-69","data":{"_type":"item","_attr":{"change":{"_type":"number","_count":"9"},"time":{"_type":"datetime","_count":"9"},"date":{"_type":"datetime","_count":"9"},"last":{"_type":"number","_count":"9"},"ticker":{"_type":"text","_count":"9"},"dayhigh":{"_type":"number","_count":"9"},"daylow":{"_type":"number","_count":"9"},"open":{"_type":"number","_count":"9"},"dayvolume":{"_type":"number","_count":"9"},"y:row":{"_type":"number","_count":"9"}}}},{"id":"_OUTPUT","moduleid":"sw-123","data":{"_type":"text","_count":"1"}},{"id":"_OUTPUT","moduleid":"sw-131","data":{"_type":"url","_count":"1"}},{"id":"_OUTPUT","moduleid":"sw-177","data":{"_type":"item","_attr":{"link":{"_type":"url","_count":"9"},"chart":{"_type":"text","_count":"9"},"change":{"_type":"number","_count":"9"},"time":{"_type":"datetime","_count":"9"},"date":{"_type":"datetime","_count":"9"},"media:group":{"_type":"","_attr":{"media:content":{"_type":"","_attr":{"media":{"_type":"text","_count":"9"},"url":{"_type":"url","_count":"9"}}}}},"last":{"_type":"number","_count":"9"},"y:id":{"_type":"","_attr":{"value":{"_type":"text","_count":"9"}}},"ticker":{"_type":"text","_count":"9"},"dayhigh":{"_type":"number","_count":"9"},"description":{"_type":"text","_count":"9"},"daylow":{"_type":"number","_count":"9"},"open":{"_type":"number","_count":"9"},"dayvolume":{"_type":"number","_count":"9"},"y:row":{"_type":"number","_count":"9"},"title":{"_type":"text","_count":"9"}}}},{"id":"_OUTPUT","moduleid":"sw-192","data":{"_type":"item","_attr":{"chart":{"_type":"text","_count":"9"},"change":{"_type":"number","_count":"9"},"time":{"_type":"datetime","_count":"9"},"date":{"_type":"datetime","_count":"9"},"last":{"_type":"number","_count":"9"},"ticker":{"_type":"text","_count":"9"},"dayhigh":{"_type":"number","_count":"9"},"daylow":{"_type":"number","_count":"9"},"open":{"_type":"number","_count":"9"},"dayvolume":{"_type":"number","_count":"9"},"y:row":{"_type":"number","_count":"9"}}}},{"id":"_OUTPUT","moduleid":"sw-217","data":{"_type":"item","_attr":{"link":{"_type":"url","_count":"9"},"chart":{"_type":"text","_count":"9"},"change":{"_type":"number","_count":"9"},"time":{"_type":"datetime","_count":"9"},"date":{"_type":"datetime","_count":"9"},"last":{"_type":"number","_count":"9"},"ticker":{"_type":"text","_count":"9"},"dayhigh":{"_type":"number","_count":"9"},"daylow":{"_type":"number","_count":"9"},"open":{"_type":"number","_count":"9"},"dayvolume":{"_type":"number","_count":"9"},"y:row":{"_type":"number","_count":"9"}}}}],"wires":[{"id":"_w0","src":{"id":"_OUTPUT","moduleid":"sw-69"},"tgt":{"id":"_INPUT","moduleid":"sw-192"}},{"id":"_w1","src":{"id":"_OUTPUT","moduleid":"sw-123"},"tgt":{"id":"PARAM_1_value","moduleid":"sw-131"}},{"id":"_w2","src":{"id":"_OUTPUT","moduleid":"sw-131"},"tgt":{"id":"URL","moduleid":"sw-69"}},{"id":"_w3","src":{"id":"_OUTPUT","moduleid":"sw-177"},"tgt":{"id":"_INPUT","moduleid":"_OUTPUT"}},{"id":"_w4","src":{"id":"_OUTPUT","moduleid":"sw-192"},"tgt":{"id":"_INPUT","moduleid":"sw-217"}},{"id":"_w5","src":{"id":"_OUTPUT","moduleid":"sw-217"},"tgt":{"id":"_INPUT","moduleid":"sw-177"}}]}",
    "clones": 3320,
    "pipealias": "watchlist",
    "pubtime_ts": 1309476219,
    "modified": 1,
    "modifiedtime_ts": 1364494181,
    "is_favorite": 0,
    "is_owner": 0,
    "tags": {
      "format": [
        "media",
        "csv"
      ],
      "domain": [
        "yahoo.com",
        "finance.yahoo.com",
        "download.finance.yahoo.com"
      ],
      "module": [
        "regex",
        "textinput",
        "urlbuilder",
        "strconcat",
        "csv",
        "loop"
      ],
      "user": [
        "watchlist",
        "stocks",
        "finance",
        "stock",
        "quote",
        "chart"
      ]
    },
    "ui": {
      "ticker": {
        "name": "ticker",
        "label": "Enter Stock Ticker",
        "number": 0,
        "type": "text",
        "value": "YHOO,TZOO,BIDU,GOOG,AMTD,ETFC,V,MA,VMW,EMC,C"
      }
    },
    "creatorname": "Paul Donnelly",
    "creatorimage_medium": "https://s.yimg.com/wv/images/aa0ac1dd504c915d2380999af292c2f4_48.jpeg",
    "creatorimage_small": "https://s.yimg.com/wv/images/aa0ac1dd504c915d2380999af292c2f4_16.jpeg"
  },
  "PIPE_ID": "ZKJobpaj3BGZOew9G8evXg",
  "ACTIONS": {
    "View Results": "/pipes/pipe.info?_id=ZKJobpaj3BGZOew9G8evXg",
    "View Source": "/pipes/pipe.edit?_id=ZKJobpaj3BGZOew9G8evXg",
    "Clone": "/pipes/pipe.clone?_crumb=GDBqcfe6FkA&_id=ZKJobpaj3BGZOew9G8evXg"
  }
}

Самая полезная часть — содержимое параметров layout, которых почему-то два (working и live) —

JSON (layout)

{
  "id": "sw-69",
  "xy": [
    804,
    380
  ]
},
{
  "id": "_OUTPUT",
  "xy": [
    383,
    1503
  ]
},
{
  "id": "sw-123",
  "xy": [
    377,
    85
  ]
},
{
  "id": "sw-131",
  "xy": [
    335,
    279
  ]
},
{
  "id": "sw-177",
  "xy": [
    177,
    1278
  ]
},
{
  "id": "sw-192",
  "xy": [
    276,
    724
  ]
},
{
  "id": "sw-217",
  "xy": [
    274,
    1042
  ]
}
],
"modules": [
{
  "type": "csv",
  "id": "sw-69",
  "conf": {
    "URL": {
      "type": "url",
      "terminal": "URL"
    },
    "separator": {
      "type": "text",
      "value": ","
    },
    "other_sep": {
      "value": "",
      "type": "text"
    },
    "skip": {
      "value": "0",
      "type": "number"
    },
    "col_row_start": {
      "value": "1",
      "type": "number"
    },
    "col_row_end": {
      "value": "1",
      "type": "number"
    },
    "col_mode": {
      "type": "text",
      "value": "custom"
    },
    "col_name": [
      {
        "value": "ticker",
        "type": "text"
      },
      {
        "value": "last",
        "type": "text"
      },
      {
        "value": "date",
        "type": "text"
      },
      {
        "value": "time",
        "type": "text"
      },
      {
        "value": "change",
        "type": "text"
      },
      {
        "value": "open",
        "type": "text"
      },
      {
        "value": "dayhigh",
        "type": "text"
      },
      {
        "value": "daylow",
        "type": "text"
      },
      {
        "value": "dayvolume",
        "type": "text"
      }
    ]
  }
},
{
  "type": "output",
  "id": "_OUTPUT",
  "conf": {
    
  }
},
{
  "type": "textinput",
  "id": "sw-123",
  "conf": {
    "name": {
      "value": "ticker",
      "type": "text"
    },
    "prompt": {
      "value": "Enter Stock Ticker",
      "type": "text"
    },
    "position": {
      "value": "",
      "type": "number"
    },
    "default": {
      "value": "YHOO,TZOO,BIDU,GOOG,AMTD,ETFC,V,MA,VMW,EMC,C",
      "type": "text"
    },
    "debug": {
      "value": "",
      "type": "text"
    }
  }
},
{
  "type": "urlbuilder",
  "id": "sw-131",
  "conf": {
    "BASE": {
      "value": "http://download.finance.yahoo.com/d/quotes.csv",
      "type": "text"
    },
    "PATH": {
      "value": "",
      "type": "text"
    },
    "PARAM": [
      {
        "key": {
          "value": "s",
          "type": "text"
        },
        "value": {
          "type": "text",
          "terminal": "PARAM_1_value"
        }
      },
      {
        "key": {
          "value": "f",
          "type": "text"
        },
        "value": {
          "value": "sl1d1t1c1ohgv",
          "type": "text"
        }
      },
      {
        "key": {
          "value": "e",
          "type": "text"
        },
        "value": {
          "value": ".csv",
          "type": "text"
        }
      }
    ]
  }
},
{
  "type": "regex",
  "id": "sw-177",
  "conf": {
    "RULE": [
      {
        "field": {
          "value": "description",
          "type": "text"
        },
        "match": {
          "value": "^",
          "type": "text"
        },
        "replace": {
          "value": "last: $${last} @ ${time} EST ${date} <br>change: ${change} <br>day high: ${dayhigh} <br>day low: ${daylow} <br>open: ${open} <br>volume: ${dayvolume} <br>${chart}",
          "type": "text"
        }
      },
      {
        "field": {
          "value": "title",
          "type": "text"
        },
        "match": {
          "value": "^",
          "type": "text"
        },
        "replace": {
          "value": "${ticker} - last: $${last} @ ${time} EST ${date}",
          "type": "text"
        }
      },
      {
        "field": {
          "value": "media:group.media:content.url",
          "type": "text"
        },
        "match": {
          "value": "^",
          "type": "text"
        },
        "replace": {
          "value": "http://ichart.finance.yahoo.com/b?s=${ticker}",
          "type": "text"
        }
      },
      {
        "field": {
          "value": "media:group.media:content.media",
          "type": "text"
        },
        "match": {
          "value": "$",
          "type": "text"
        },
        "replace": {
          "value": "image",
          "type": "text"
        }
      },
      {
        "field": {
          "value": "y:id.value",
          "type": "text"
        },
        "match": {
          "value": "^",
          "type": "text"
        },
        "replace": {
          "value": "${ticker}-${last}-${date}-${time}",
          "type": "text"
        }
      }
    ]
  }
},
{
  "type": "loop",
  "id": "sw-192",
  "conf": {
    "with": {
      "value": "",
      "type": "text"
    },
    "embed": {
      "value": {
        "type": "strconcat",
        "id": "sw-200",
        "conf": {
          "part": [
            {
              "value": "<img src=\"http://ichart.finance.yahoo.com/b?s=",
              "type": "text"
            },
            {
              "subkey": "ticker",
              "type": "text"
            },
            {
              "value": "\">",
              "type": "text"
            }
          ]
        }
      },
      "type": "module"
    },
    "emit_part": {
      "type": "text",
      "value": "all"
    },
    "mode": {
      "type": "text",
      "value": "assign"
    },
    "assign_part": {
      "type": "text",
      "value": "all"
    },
    "assign_to": {
      "value": "chart",
      "type": "text"
    }
  }
},
{
  "type": "loop",
  "id": "sw-217",
  "conf": {
    "with": {
      "value": "",
      "type": "text"
    },
    "embed": {
      "value": {
        "type": "strconcat",
        "id": "sw-235",
        "conf": {
          "part": [
            {
              "value": "http://finance.yahoo.com/q?s=",
              "type": "text"
            },
            {
              "subkey": "ticker",
              "type": "text"
            }
          ]
        }
      },
      "type": "module"
    },
    "emit_part": {
      "type": "text",
      "value": "all"
    },
    "mode": {
      "type": "text",
      "value": "assign"
    },
    "assign_part": {
      "type": "text",
      "value": "all"
    },
    "assign_to": {
      "value": "link",
      "type": "text"
    }
  }
}
],
"terminaldata": [
{
  "id": "_OUTPUT",
  "moduleid": "sw-69",
  "data": {
    "_type": "item",
    "_attr": {
      "change": {
        "_type": "number",
        "_count": "9"
      },
      "time": {
        "_type": "datetime",
        "_count": "9"
      },
      "date": {
        "_type": "datetime",
        "_count": "9"
      },
      "last": {
        "_type": "number",
        "_count": "9"
      },
      "ticker": {
        "_type": "text",
        "_count": "9"
      },
      "dayhigh": {
        "_type": "number",
        "_count": "9"
      },
      "daylow": {
        "_type": "number",
        "_count": "9"
      },
      "open": {
        "_type": "number",
        "_count": "9"
      },
      "dayvolume": {
        "_type": "number",
        "_count": "9"
      },
      "y:row": {
        "_type": "number",
        "_count": "9"
      }
    }
  }
},
{
  "id": "_OUTPUT",
  "moduleid": "sw-123",
  "data": {
    "_type": "text",
    "_count": "1"
  }
},
{
  "id": "_OUTPUT",
  "moduleid": "sw-131",
  "data": {
    "_type": "url",
    "_count": "1"
  }
},
{
  "id": "_OUTPUT",
  "moduleid": "sw-177",
  "data": {
    "_type": "item",
    "_attr": {
      "link": {
        "_type": "url",
        "_count": "9"
      },
      "chart": {
        "_type": "text",
        "_count": "9"
      },
      "change": {
        "_type": "number",
        "_count": "9"
      },
      "time": {
        "_type": "datetime",
        "_count": "9"
      },
      "date": {
        "_type": "datetime",
        "_count": "9"
      },
      "media:group": {
        "_type": "",
        "_attr": {
          "media:content": {
            "_type": "",
            "_attr": {
              "media": {
                "_type": "text",
                "_count": "9"
              },
              "url": {
                "_type": "url",
                "_count": "9"
              }
            }
          }
        }
      },
      "last": {
        "_type": "number",
        "_count": "9"
      },
      "y:id": {
        "_type": "",
        "_attr": {
          "value": {
            "_type": "text",
            "_count": "9"
          }
        }
      },
      "ticker": {
        "_type": "text",
        "_count": "9"
      },
      "dayhigh": {
        "_type": "number",
        "_count": "9"
      },
      "description": {
        "_type": "text",
        "_count": "9"
      },
      "daylow": {
        "_type": "number",
        "_count": "9"
      },
      "open": {
        "_type": "number",
        "_count": "9"
      },
      "dayvolume": {
        "_type": "number",
        "_count": "9"
      },
      "y:row": {
        "_type": "number",
        "_count": "9"
      },
      "title": {
        "_type": "text",
        "_count": "9"
      }
    }
  }
},
{
  "id": "_OUTPUT",
  "moduleid": "sw-192",
  "data": {
    "_type": "item",
    "_attr": {
      "chart": {
        "_type": "text",
        "_count": "9"
      },
      "change": {
        "_type": "number",
        "_count": "9"
      },
      "time": {
        "_type": "datetime",
        "_count": "9"
      },
      "date": {
        "_type": "datetime",
        "_count": "9"
      },
      "last": {
        "_type": "number",
        "_count": "9"
      },
      "ticker": {
        "_type": "text",
        "_count": "9"
      },
      "dayhigh": {
        "_type": "number",
        "_count": "9"
      },
      "daylow": {
        "_type": "number",
        "_count": "9"
      },
      "open": {
        "_type": "number",
        "_count": "9"
      },
      "dayvolume": {
        "_type": "number",
        "_count": "9"
      },
      "y:row": {
        "_type": "number",
        "_count": "9"
      }
    }
  }
},
{
  "id": "_OUTPUT",
  "moduleid": "sw-217",
  "data": {
    "_type": "item",
    "_attr": {
      "link": {
        "_type": "url",
        "_count": "9"
      },
      "chart": {
        "_type": "text",
        "_count": "9"
      },
      "change": {
        "_type": "number",
        "_count": "9"
      },
      "time": {
        "_type": "datetime",
        "_count": "9"
      },
      "date": {
        "_type": "datetime",
        "_count": "9"
      },
      "last": {
        "_type": "number",
        "_count": "9"
      },
      "ticker": {
        "_type": "text",
        "_count": "9"
      },
      "dayhigh": {
        "_type": "number",
        "_count": "9"
      },
      "daylow": {
        "_type": "number",
        "_count": "9"
      },
      "open": {
        "_type": "number",
        "_count": "9"
      },
      "dayvolume": {
        "_type": "number",
        "_count": "9"
      },
      "y:row": {
        "_type": "number",
        "_count": "9"
      }
    }
  }
}
],
"wires": [
{
  "id": "_w0",
  "src": {
    "id": "_OUTPUT",
    "moduleid": "sw-69"
  },
  "tgt": {
    "id": "_INPUT",
    "moduleid": "sw-192"
  }
},
{
  "id": "_w1",
  "src": {
    "id": "_OUTPUT",
    "moduleid": "sw-123"
  },
  "tgt": {
    "id": "PARAM_1_value",
    "moduleid": "sw-131"
  }
},
{
  "id": "_w2",
  "src": {
    "id": "_OUTPUT",
    "moduleid": "sw-131"
  },
  "tgt": {
    "id": "URL",
    "moduleid": "sw-69"
  }
},
{
  "id": "_w3",
  "src": {
    "id": "_OUTPUT",
    "moduleid": "sw-177"
  },
  "tgt": {
    "id": "_INPUT",
    "moduleid": "_OUTPUT"
  }
},
{
  "id": "_w4",
  "src": {
    "id": "_OUTPUT",
    "moduleid": "sw-192"
  },
  "tgt": {
    "id": "_INPUT",
    "moduleid": "sw-217"
  }
},
{
  "id": "_w5",
  "src": {
    "id": "_OUTPUT",
    "moduleid": "sw-217"
  },
  "tgt": {
    "id": "_INPUT",
    "moduleid": "sw-177"
  }
}

Автор: and7ey

Источник

* - обязательные к заполнению поля


https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js