Can anyone here recommend a good contact importer script where a user can place in their email/password and outputs an array of their contacts?

Ideally free but I notice a lot of contacts importer scripts out there do not work sometimes because the mail clients change their specs.