def single_playlist():
    if not os.path.exists('res/' + st.csv_fname + '.csv'):
        # 新建一个歌单类
        s = Songs()
        s.get_plist(st.playlist_url, st)
        s.get_lyric()
        func.songs_to_csv(s.songs, st)
Esempio n. 2
0
def single_playlist():
    if not os.path.exists('res/' + st.csv_fname + '.csv'):
        # Create a new playlist category
        s = Songs()
        s.get_plist(st.playlist_url, st)
        s.get_lyric()
        s.get_detail()
        func.songs_to_csv(s.songs, st)