def fake_user_agent():
    """
    Return a fake user agent.

    @rtype: str
    """
    try:
        from fake_useragent import UserAgent
    except ImportError:
        raise ImportError('fake_useragent must be installed to get fake UAs.')
    return UserAgent().random
