python 封装能免费观看 VIP 视频的 GUI

寻找 api

1.http://17kyun.com/api.php?url=

2.https://api.kk06.top/?url=

这两个网站亲测可用,也不知道爱奇艺为啥对这个不管管,哈哈哈,咱也不敢问。
不过温馨提示下,视频解析网站不一定是长期可以使用的,也许过一段时间就失效了,如果失效的话,大家也可以自行度娘找找看。

找到这两个宝贝就好办了,直接把付费电影的链接放在解析网站地址的后面就行了

设计 GUI 页面


import tkinter as tk
import tkinter.messagebox
import webbrowser as wb


class Player:
    def __init__(self):
        self.root = tk.Tk()  # 初始化窗口
        self.root.title('小白出品VIP视频破解软件v1.0')  # 窗口名称
        self.root.geometry("600x600")  # 设置窗口大小
        # 设置窗口是否可变,宽不可变,高可变,默认为True
        self.root.resizable(width=True, height=True)
        self.menu = tk.Menu(self.root)
        self.helpmenu = tk.Menu(self.menu, tearoff=0)
        self.helpmenu.add_command(label='帮助文档', command=self.about)
        self.helpmenu.add_command(label='作者信息', command=self.zzxx)
        self.menu.add_cascade(label='帮助(H)', menu=self.helpmenu)
        self.root.config(menu=self.menu)
        self.val = tk.StringVar(value='')
        self.label1 = tk.Label(self.root, text='视频播放通道')
        self.label1.place(x=20, y=20, width=100, height=20)
        self.Radio = tk.IntVar(value=1)
        self.Radio1 = tk.Radiobutton(self.root, variable=self.Radio, value=0, text='视频通道1')
        self.Radio2 = tk.Radiobutton(self.root, variable=self.Radio, value=1, text='视频通道2')
        self.Radio1.place(x=130, y=20, width=100, height=20)
        self.Radio2.place(x=250, y=20, width=100, height=20)

        self.val1 = tk.StringVar(value='https://www.iqiyi.com/v_19rqpqcijk.html#vfrm=19-9-0-1')
        self.link = tk.Label(self.root, text='视频播放链接')
        self.link.place(x=20, y=60, width=100, height=20)
        self.movie = tk.Entry(self.root, textvariable=self.val1)
        self.movie.place(x=130, y=60, width=300, height=20)
        self.clean = tk.Button(self.root, text='清空', command=self.qk)
        self.clean.place(x=440, y=60, width=30, height=20)
        self.warn = tk.Label(self.root, text='将视频链接复制到框内,点击播放VIP视频')
        self.warn.place(x=50, y=90, width=400, height=20)
        self.val2 = tk.StringVar
        self.start = tk.Button(self.root, text='播放VIP视频', command=self.Button)
        self.start.place(x=220, y=140, width=80, height=30)
        self.start1 = tk.Button(self.root, text='爱奇艺', command=self.openaqy)
        self.start1.place(x=100, y=200, width=70, height=30)
        self.start2 = tk.Button(self.root, text='腾讯视频', command=self.opentx)
        self.start2.place(x=200, y=200, width=80, height=30)
        self.start3 = tk.Button(self.root, text='优酷视频', command=self.openyq)
        self.start3.place(x=300, y=200, width=80, height=30)
        self.b1 = tk.Button(self.root, text='技术博客,点我直达', command=self.refer)
        self.b1.place(x=200, y=600, width=140, height=40, anchor='nw')
        self.root.mainloop()

    def qk(self):
        print('清理')
        self.movie.delete(0, 'end')

    def Button(self):
        a = 'http://17kyun.com/api.php?url=' if self.val1.get() else 'https://api.kk06.top/?url='  # Python骚操作:推倒式
        b = self.movie.get()
        wb.open(a + b)  # 打开浏览器进行播放

    def openaqy(self):
        wb.open('http://www.iqiyi.com')

    def opentx(self):
        wb.open('http://v.qq.com')

    def openyq(self):
        wb.open('http://www.youku.com/')

    def about(self):
        abc = '''
            经过测试 ,支持站点:

            爱奇艺 腾讯 优酷 土豆 芒果 乐视 搜狐 PPTV 华数TV 风行 咪咕 哔哩哔哩 ACfun 暴风 CCTV CNTV 
            范特西 9i广场舞 搜狐自媒体 M1905视频 看看视频 27盘 虎牙直播 全民直播 战旗直播 人人视频 爆米花 
            今日头条 天翼视频 糖豆视频 龙珠视频 快手视频 一直播 新浪视频 360小视频 熊猫TV 斗鱼TV 花椒直播 
            网易公开课 音悦台 秒拍网 美拍网 爱拍 凤凰视频 梨视频 微录客 人民微视频 17173视频 
            优米视频 m3u8 mp4视频 微博视频 YY视频 私有云资源
            '''
        tkinter.messagebox.showinfo(title='帮助文件', message=abc)

    def zzxx(self):
        msg = '''
            作者:掉进悬崖的小白
            QQ: 1987617587
            从事行业:Python、RPA
            '''
        tkinter.messagebox.showinfo(title='联系方式', message=msg)

    def refer(self):
        wb.open('https://support.i-search.com.cn/member/a6l7ua625v')


if __name__ == '__main__':
    Player()

展示

python 封装能免费观看 VIP 视频的 GUI