def parse_seeds(seeds):
    """ parse website seeds.
    @params
        seeds example:
            - url1
            - user1:pwd1@url1
            - user1:pwd1@url1|url2|user3:pwd3@url3
    """
    seeds = seeds.strip().split('|')
    website_list = []
    for seed in seeds:
        if '@' not in seed:
            website = {'url': seed, 'auth': None}
        else:
            user_pwd, url = seed.split('@')
            username, password = user_pwd.split(':')
            website = {'url': url, 'auth': (username, password)}
        website_list.append(website)
    return website_list
