Spark Capital, the Boston venture firm run by hard-charging Todd Dagres, said it has finished raising its second fund at $360 million fund.

Dagres left Battery Ventures three years ago, and launched Spark to focus on media and entertainment investments.

It has proven good timing.

The first fund’s investments include consumer-centric companies such as Next New Networks, Me.dium and Veoh, as well as infrastructure companies Menara and VeriVue. One investment, thePlatform, a publishing platform, was acquired by Comcast for more than $100 million.