def course(
    url,
    username="",
    password="",
    cookies="",
    basic=True,
    skip_hls_stream=False,
    cache_session=False,
    callback=None,
):
    """Returns udemy course instance.

    @params:
        url      : Udemy course url required : type (string).
        username : Udemy email account required : type (string).
        password : Udemy account password required : type (string)
        cookies  : Udemy account logged in browser cookies optional : type (string)
    """
    return Udemy(
        url,
        username,
        password,
        cookies,
        basic,
        skip_hls_stream,
        cache_session,
        callback,
    )
Returns udemy course instance.

    @params:
        url      : Udemy course url required : type (string).
        username : Udemy email account required : type (string).
        password : Udemy account password required : type (string)
        cookies  : Udemy account logged in browser cookies optional : type (string)
    
udemy/udemy.py