mirror of
https://gitlab.com/octospacc/Snippets.git
synced 2025-01-06 12:57:17 +01:00
Update InvidiousFeedProxy.py
This commit is contained in:
parent
7e98ab0478
commit
2f80f31877
@ -16,7 +16,6 @@ def IsVideoShort(Id):
|
|||||||
Info = youtube_dl.YoutubeDL().extract_info(Id, download=False)
|
Info = youtube_dl.YoutubeDL().extract_info(Id, download=False)
|
||||||
w, h = Info['width'], Info['height']
|
w, h = Info['width'], Info['height']
|
||||||
if Info['duration'] < 60 and w < h and w/h == 0.5625: # == 9:16
|
if Info['duration'] < 60 and w < h and w/h == 0.5625: # == 9:16
|
||||||
print(True)
|
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user