Parse links