"""
class163/login.py
Version: 0.2.2
Author: CooooldWind_
E-Mail: 3091868003@qq.com
Copyright @CooooldWind_ / Following GNU_AGPLV3+ License
"""

"""
from selenium import webdriver

def login() -> dict:
    driver = webdriver.ChromiumEdge()
    driver.get("https://music.163.com/#/login/")
    cookies = None
    while cookies == None:
        cookies = driver.get_cookie("MUSIC_U")
        if cookies != None:
            cookies = {cookies["name"]: cookies["value"]}
            driver.close()
            break
    return cookies
"""
