"Trap" is more colloquial, and in this context I think it is appropriate. "Capture" is not how you'd say this if you were scared of a spider and wanted it kept away from you.
Hurry, trap that spider! is, to me, preferred over Hurry, capture that spider!