!7 sS channel = "UCSvK6EfxnMTajbe-Qpc6NvA"; static YouTubeChannelInfo info; static JLabel lbl, lbl2; p-subst { info = youTubeChannelInfo(channel); lbl = jcenteredlabel(); lbl2 = jcenteredlabel(); addToWindow(showBigText("Subscribers!", f getSubscribers, 10000).is, centerAndSouth(lbl, lbl2)); } sS[] getSubscribers() { YouTubeStats stats = youTubeStats(channel); setText(lbl, "Views: " + stats.views); setText(lbl2, "Videos: " + stats.videos); ret new S[] { n(stats.subs, "sub"), n(stats.subs, "Subscribers") + " for " + or2(info.title, "unknown channel") }; }