Skip to content
Fabian Morón Zirfas edited this page Jun 13, 2025 · 2 revisions

To get data from the web in After Effects you can make use of the system object. This works only in AE (sad but true).

The Socket object from ExtendScript is complicated. Look at GetURLs.jsx by Rorohiko. You need to allow your script to access the network. See this stackoverflow

    # Mac Osx
    var curlcmd = "curl feeds.nfl.com/feeds-rs/schedules.json > ~/Desktop/test/schedules.json";
    var stdout = system.callSystem(curlcmd);
    $.writeln(stdout);
    var file = File("~/Desktop/test/schedules.json");
    file.open();
    var content = file.read();
    file.close();
    $.writeln(content);

Home

Clone this wiki locally