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)
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)
def single_playlist(): if not os.path.exists('res/' + st.csv_fname + '.csv'): # 新建一个歌单类 s = Songs(keyword=st.search_keyword, limit=st.result_limit) s.get_plist_songs(st.playlist_url) s.get_lyric()