Use Activerecord::Import to bulk import URLs.
Wrap in a transaction, yields a minor performance boost.