Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to watch iqiyi's VIP video with Python

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces how to use Python to watch iqiyi VIP video, the article is very detailed, has a certain reference value, interested friends must finish!

I. Preface

In today's fast-paced society, people are facing increasing pressure. People generally use listening to music and watching videos to ease their nervousness. As we all know, many videos need to be charged. So how can we get past this limit and watch movies for free?

I believe you are no stranger to VIP, but you are still interested in the technology inside. Next, I will explain the simplest implementation principle.

First of all, let's take a look at the main interface of the software, as shown in the figure:

II. Implementation steps

Let's explain the implementation steps:

1. Write interface

Import tkinter as tk import tkinter.messagebox import webbrowser as wb class player: def _ _ init__ (self): self.root= tk.Tk () # initialization window self.root.title ('VIP video cracking software v1.0') # window name self.root.geometry ("700x700") # set window size # whether the window is variable, width is immutable, height is variable The default is 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=' help document', command=self.about) self.helpmenu.add_command (label=' author Information', command=self.zzxx) self.menu.add_cascade (label=' help (H)' Menu=self.helpmenu) self.root.config (menu=self.menu) self.val= tk.StringVar (value='') self.label1=tk.Label (self.root, text=' video playback channel') self.label1.place (self.Radio=tk.IntVar (value=1) self.Radio1=tk.Radiobutton (self.root,variable=self.Radio,value=0) Text=' video channel 1') self.Radio2 = tk.Radiobutton (self.root, variable=self.Radio, value=1, text=' video channel 2') self.Radio1.place (self.Radio2.place 130, variable=self.Radio, value=1, text=' video channel 2') self.val1=tk.StringVar (value=' video self.link= tk.Label (self.root) Text=' video playback link') self.link.place (Xerox 20, self.root 60 self.root width100, height=20) self.movie = tk.Entry (self.root, textvariable=self.val1) self.movie.place (Xerox 130, Yidong 60 dint width300, height=20) self.clean=tk.Button (self.root,text=' emptied', command=self.qk) self.clean.place (Xerox 440, Yidong 60 camera width30 camera 20) self.warn= tk.Label (self.root Text=' copies the video link into the box Click to play VIP video') self.warn.place (Xerox 50, yearly 90, width=400, height=20) self.val2=tk.StringVar self.start= tk.Button (self.root, text=' play VIP video', command=self.Button) self.start.place (Xerox 220, yearly 140, width=80, height=30) self.start1 = tk.Button (self.root, text=' iqiyi', command=self.openaqy) self.start1.place (Xerox 100, yearly 200, width=70) Height=30) self.start2 = tk.Button (self.root,text=' Tencent Video', command=self.opentx) self.start2.place (Xero200, YYB200, width=80, height=30) self.start3 = tk.Button (self.root,text=' Youku Video', command=self.openyq) self.start3.place (Xero300, YB200, width=80, height=30) self.b1=tk.Button (self.root,text=' technology blog Click on my direct', command=self.refer) self.b1.place (Xuan 200, Yili, 600, and widthpieces, 140), Heightbrush, 40, self.root.mainloop ()

Basically, there's nothing to say, it's all relatively simple, so I'll just pick the point.

2. Pay for video resolution

Open iqiyi or other videos that you can watch as long as they are paid members. Here I choose this movie:

We can see that this is a paid movie, and as a white whoring monster, of course we can't stand it.

So, under the influence of the network, I found the video analysis website, ha.

1. Http://17kyun.com/api.php?url= 2 https://api.kk06.top/?url=

These two websites are available for personal testing, and I don't know why iqiyi doesn't care about this, ha, we don't dare to ask. However, under the warm reminder, the video analysis website is not necessarily long-term can be used, perhaps after a period of time will be invalid, if it fails, we can also take a look.

It's easy to find these two babies, put the link to the paid movie directly behind the address of the parsing website, and then there's this picture:

We have achieved our goal, so let's start the writing of the main program.

3. Write the analytic video function

Def Button (self): a = 'http://17kyun.com/api.php?url=' if self.val1.get () else' https://api.kk06.top/?url=' # Python operation: push-down b = self.movie.get () wb.open (aquib) # Open a browser to play

4. Write the function of browsing the major websites

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/'))

5. Menu column

Def about (self): abc=''' has been tested Support site: iqiyi Tencent Youku Tudou Mango Letv Sohu PPTV TV popular Mi Goo bilibili ACfun Storm CCTV CNTV Fantasy 9i Square Dance Sohu self-media M1905 video watch 27 videos Huya TV national live war flag live everyone video popcorn Jinri Toutiao Tianyi video sugar bean TV Frequency Dragon Ball Video Quick hand Video has been broadcast Sina Video TV Douyu TV Huajiao TV NetEase Open course Voice Yuetai Station second Pat net Mei Pai net Love Phoenix Video Pear Video Guest people's Micro Video 17173 Video Youmi Video m3u8 mp4 Video Weibo Video YY Video Private Cloud Resources Tkinter.messagebox.showinfo (title=' help file' Message=abc) def zzxx (self): msg=''' author: Pippi Wechat: pycharm1314 technology website: http://pdcfighting.com/''tkinter.messagebox.showinfo (title=' contact information', message=msg)

6. Start the program

Just start the class player ()

The above is all the contents of the article "how to use Python to watch iqiyi's VIP video". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report