banner
andrewji8

Being towards death

Heed not to the tree-rustling and leaf-lashing rain, Why not stroll along, whistle and sing under its rein. Lighter and better suited than horses are straw sandals and a bamboo staff, Who's afraid? A palm-leaf plaited cape provides enough to misty weather in life sustain. A thorny spring breeze sobers up the spirit, I feel a slight chill, The setting sun over the mountain offers greetings still. Looking back over the bleak passage survived, The return in time Shall not be affected by windswept rain or shine.
telegram
twitter
github

Python writes free Kugou Vip music.

Enter the singer or song name, click the "Get Song List" button to view detailed information about the singer or song.

Select the song of interest and click the "Get Song Data" button to view the playback link for the song.

You can listen to VIP music for free without any payment.
Note: There is a certain degree of expiration.
The code is as follows:

import requests
import tkinter as tk
import customtkinter as ctk

def get_song_list():
    artist = artist_entry.get()
    url = f"https://www.hhlqilongzhu.cn/api/dg_kgmusic.php?gm={artist}&n="
    response = requests.get(url)

    if response.status_code == 200:
        song_list.delete(0, tk.END)
        for song in response.text.split('\n'):
            if song.strip():
                song_list.insert(tk.END, song.strip())
    else:
        song_info_text.delete("1.0", tk.END)
        song_info_text.insert(tk.END, f"Error: {response.status_code} - {response.text}")

def get_song_data():
    artist = artist_entry.get()
    selected_index = song_list.curselection()
    if selected_index:
        selected_song = song_list.get(selected_index)
        url = f"https://www.hhlqilongzhu.cn/api/dg_kgmusic.php?gm={artist}&n={selected_song}"
        response = requests.get(url)

        if response.status_code == 200:
            song_info_text.delete("1.0", tk.END)
            song_info_text.insert(tk.END, response.text)
        else:
            song_info_text.delete("1.0", tk.END)
            song_info_text.insert(tk.END, f"Error: {response.status_code} - {response.text}")
    else:
        song_info_text.delete("1.0", tk.END)
        song_info_text.insert(tk.END, "No song selected.")

ctk.set_appearance_mode("dark")
ctk.set_default_color_theme("dark-blue")

root = ctk.CTk()
root.title("Cool Dog VIP Music Free Listening")
root.geometry("368x630")
root.resizable(False, False)

artist_label = ctk.CTkLabel(root, text="Please enter the singer or song name:")
artist_label.pack(pady=10)

artist_entry = ctk.CTkEntry(root)
artist_entry.pack(pady=10)

get_songs_button = ctk.CTkButton(root, text="Get Song List", command=get_song_list)
get_songs_button.pack(pady=10)

song_list = tk.Listbox(root, width=40, height=10)
song_list.pack(pady=20)

get_song_data_button = ctk.CTkButton(root, text="Get Song Data", command=get_song_data)
get_song_data_button.pack(pady=10)

song_info_text = tk.Text(root, width=50, height=10)
song_info_text.pack(pady=20)

root.mainloop()

Instructions:

The usage is very simple. Just enter the singer or song name, and then click the "Get Song List" button to view detailed information about the singer or song.

Then select the song of interest and click the "Get Song Data" button to view the playback link for the song. Copy the link to the browser to play or download. You can listen to VIP music for free without any payment.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.