{ "extractor": { "twitter": { "base-directory": ".", "directory": [ "{author['name']}" ], "filename": { "locals().get('bitrate', 0) > 0": "{author['name']}-{tweet_id}-{date:%Y%m%d_%H%M%S}-vid{num}.{extension}", "locals().get('bitrate') == 0": "{author['name']}-{tweet_id}-{date:%Y%m%d_%H%M%S}-gif{num}.{extension}", "": "{author['name']}-{tweet_id}-{date:%Y%m%d_%H%M%S}-img{num}.{extension}" }, "timeline": { "strategy": "media" }, "postprocessors": [ { "name": "metadata", "event": "post", "filename": "{author['name']}-{tweet_id}-{date:%Y%m%d_%H%M%S}.json" } ] } } }