{"id":1739,"date":"2021-05-13T22:35:09","date_gmt":"2021-05-13T14:35:09","guid":{"rendered":"http:\/\/cnliutz.uicp.io\/?p=1739"},"modified":"2021-05-13T22:35:09","modified_gmt":"2021-05-13T14:35:09","slug":"%e7%94%a8python%e4%bb%a3%e7%a0%81%e7%9c%8bvip%e7%94%b5%e5%bd%b1","status":"publish","type":"post","link":"http:\/\/g1n29wqq.ipyingshe.net:5347\/?p=1739","title":{"rendered":"\u7528python\u4ee3\u7801\u770bvip\u7535\u5f71"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>import tkinter as tk\nimport tkinter.messagebox\nimport webbrowser as wb\nclass player:\n    def __init__(self):\n        self.root= tk.Tk()   #\u521d\u59cb\u5316\u7a97\u53e3\n        self.root.title('VIP\u89c6\u9891\u7834\u89e3\u8f6f\u4ef6v1.0')  #\u7a97\u53e3\u540d\u79f0\n        self.root.geometry(\"700x350\")  #\u8bbe\u7f6e\u7a97\u53e3\u5927\u5c0f\n        #\u8bbe\u7f6e\u7a97\u53e3\u662f\u5426\u53ef\u53d8\uff0c\u5bbd\u4e0d\u53ef\u53d8\uff0c\u9ad8\u53ef\u53d8\uff0c\u9ed8\u8ba4\u4e3aTrue\n        self.root.resizable(width=True,height=True)\n        self.menu= tk.Menu(self.root)\n        self.helpmenu = tk.Menu(self.menu, tearoff=0)\n        self.helpmenu.add_command(label='\u5e2e\u52a9\u6587\u6863', command=self.about)\n        self.helpmenu.add_command(label='\u4f5c\u8005\u4fe1\u606f', command=self.zzxx)\n        self.menu.add_cascade(label='\u5e2e\u52a9(H)', menu=self.helpmenu)\n        self.root.config(menu=self.menu)\n\n\n        self.val= tk.StringVar(value='')\n        self.label1=tk.Label(self.root, text='\u89c6\u9891\u64ad\u653e\u901a\u9053')\n        self.label1.place(x=20,y=20,width=100,height=20)\n        self.Radio=tk.IntVar(value=1)\n        self.Radio1=tk.Radiobutton(self.root,variable=self.Radio,value=0,text='\u89c6\u9891\u901a\u90531')\n        self.Radio2 = tk.Radiobutton(self.root, variable=self.Radio, value=1, text='\u89c6\u9891\u901a\u90532')\n        self.Radio1.place(x=130,y=20,width=100,height=20)\n        self.Radio2.place(x=250, y=20, width=100, height=20)\n\n\n        self.val1=tk.StringVar(value='https:\/\/www.iqiyi.com\/v_19rqpqcijk.html#vfrm=19-9-0-1')\n        self.link= tk.Label(self.root, text='\u89c6\u9891\u64ad\u653e\u94fe\u63a5')\n        self.link.place(x=20, y=60, width=100, height=20)\n        self.movie = tk.Entry(self.root, textvariable=self.val1)\n        self.movie.place(x=130, y=60, width=300, height=20)\n        self.clean=tk.Button(self.root,text='\u6e05\u7a7a',command=self.qk)\n        self.clean.place(x=440,y=60,width=30,height=20)\n        self.warn= tk.Label(self.root, text='\u5c06\u89c6\u9891\u94fe\u63a5\u590d\u5236\u5230\u6846\u5185\uff0c\u70b9\u51fb\u64ad\u653eVIP\u89c6\u9891')\n        self.warn.place(x=50, y=90, width=400, height=20)\n        self.val2=tk.StringVar\n        self.start= tk.Button(self.root, text='\u64ad\u653eVIP\u89c6\u9891', command=self.Button)\n        self.start.place(x=220, y=140, width=80, height=30)\n        # self.box = tk.Label(self.root,text='Select Resource')\n        # self.box.place(x=50,y=145,width=500,height=70)\n        self.start1 = tk.Button(self.root, text='\u7231\u5947\u827a', command=self.openaqy)\n        self.start1.place(x=100, y=200, width=70, height=30)\n        self.start2 = tk.Button(self.root, text='\u817e\u8baf\u89c6\u9891', command=self.opentx)\n        self.start2.place(x=200, y=200, width=80, height=30)\n        self.start3 = tk.Button(self.root, text='\u4f18\u9177\u89c6\u9891', command=self.openyq)\n        self.start3.place(x=300, y=200, width=80, height=30)\n        self.b1=tk.Button(self.root,text='\u6280\u672f\u535a\u5ba2\uff0c\u70b9\u6211\u76f4\u8fbe',command=self.refer)\n        self.b1.place(x=200,y=300,width=140,height=40,anchor='nw')\n        self.root.mainloop()\n    def Button(self):\n        a = 'http:\/\/17kyun.com\/api.php?url=' if self.val1.get() else 'https:\/\/api.kk06.top\/?url='  #Python\u9a9a\u64cd\u4f5c\uff1a\u63a8\u5012\u5f0f\n        b = self.movie.get() \n        wb.open(a+b)  #\u6253\u5f00\u6d4f\u89c8\u5668\u8fdb\u884c\u64ad\u653e\n    def qk(self):\n        self.movie.delete(0,'end')\n    def openaqy(self):\n        wb.open('http:\/\/www.iqiyi.com')\n\n\n    def opentx(self):\n        wb.open('http:\/\/v.qq.com')\n\n\n    def openyq(self):\n        wb.open('http:\/\/www.youku.com\/')\n\n    def about(self):\n        abc='''\n            \u7ecf\u8fc7\u6d4b\u8bd5 ,\u652f\u6301\u7ad9\u70b9:\n\n\n            \u7231\u5947\u827a \u817e\u8baf \u4f18\u9177 \u571f\u8c46 \u8292\u679c \u4e50\u89c6 \u641c\u72d0 PPTV \u534e\u6570TV \u98ce\u884c \u54aa\u5495 \u54d4\u54e9\u54d4\u54e9 ACfun \u66b4\u98ce CCTV CNTV \n            \u8303\u7279\u897f 9i\u5e7f\u573a\u821e \u641c\u72d0\u81ea\u5a92\u4f53 M1905\u89c6\u9891 \u770b\u770b\u89c6\u9891 27\u76d8 \u864e\u7259\u76f4\u64ad \u5168\u6c11\u76f4\u64ad \u6218\u65d7\u76f4\u64ad \u4eba\u4eba\u89c6\u9891 \u7206\u7c73\u82b1 \n            \u4eca\u65e5\u5934\u6761 \u5929\u7ffc\u89c6\u9891 \u7cd6\u8c46\u89c6\u9891 \u9f99\u73e0\u89c6\u9891 \u5feb\u624b\u89c6\u9891 \u4e00\u76f4\u64ad \u65b0\u6d6a\u89c6\u9891 360\u5c0f\u89c6\u9891 \u718a\u732bTV \u6597\u9c7cTV \u82b1\u6912\u76f4\u64ad \n            \u7f51\u6613\u516c\u5f00\u8bfe \u97f3\u60a6\u53f0 \u79d2\u62cd\u7f51 \u7f8e\u62cd\u7f51 \u7231\u62cd \u51e4\u51f0\u89c6\u9891 \u68a8\u89c6\u9891 \u5fae\u5f55\u5ba2 \u4eba\u6c11\u5fae\u89c6\u9891 17173\u89c6\u9891 \n            \u4f18\u7c73\u89c6\u9891 m3u8 mp4\u89c6\u9891 \u5fae\u535a\u89c6\u9891 YY\u89c6\u9891 \u79c1\u6709\u4e91\u8d44\u6e90\n            '''\n        tkinter.messagebox.showinfo(title='\u5e2e\u52a9\u6587\u4ef6', message=abc)\n    def zzxx(self):\n        msg='''\n            \u4f5c\u8005\uff1acnliutz\n            V\u4fe1: lds02201003267\n            \u6280\u672f\u7f51\u7ad9\uff1ahttp:\/\/cnliutz.ipyingshe.net\/\n            '''\n        tkinter.messagebox.showinfo(title='\u8054\u7cfb\u65b9\u5f0f', message=msg)\n    def refer(self):\n        wb.open('http:\/\/cnliutz.uicp.io')\n\nplayer()\n\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-1739","post","type-post","status-publish","format-standard","hentry","category-python"],"_links":{"self":[{"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts\/1739","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1739"}],"version-history":[{"count":1,"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts\/1739\/revisions"}],"predecessor-version":[{"id":1740,"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=\/wp\/v2\/posts\/1739\/revisions\/1740"}],"wp:attachment":[{"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1739"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1739"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/g1n29wqq.ipyingshe.net:5347\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}