mirror of
https://gitlab.com/octospacc/Snippets.git
synced 2025-01-04 20:09:26 +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)
|
||||
w, h = Info['width'], Info['height']
|
||||
if Info['duration'] < 60 and w < h and w/h == 0.5625: # == 9:16
|
||||
print(True)
|
||||
return True
|
||||
return False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user