Home > other >  How to judge a Python. Ts files can play
How to judge a Python. Ts files can play

Time:09-16

I downloaded from Internet. Ts file, some of them can play, there are some can't play, how can use Python implementation judge a. Ts files can play, or can't play?

CodePudding user response:

Using py request. Judging urlopen function, if a status code of 200 can play

CodePudding user response:

https://www.jianshu.com/p/d971d45eddb6

CodePudding user response:

Return a status code is 200, however, that I've tried
  • Related