Update youtube shorts detection to support youtube pants
This commit is contained in:
parent
464a595045
commit
cb7f39eaea
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ defmodule Pinchflat.YtDlp.Media do
|
|||
#
|
||||
# These don't fail if duration or aspect_ratio are missing
|
||||
# due to Elixir's comparison semantics
|
||||
response["duration"] <= 60 && response["aspect_ratio"] <= 0.85
|
||||
response["duration"] <= 180 && response["aspect_ratio"] <= 0.85
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue