[Bugfix] Improve YouTube shorts detection for new YouTube pants (#618)

* Update youtube shorts detection to support youtube pants

* Updates a test
This commit is contained in:
Kieran authored and GitHub committed 2025-02-20 15:49:09 -08:00
1 parent 464a595045
commit b62eb2bc6b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -269,7 +269,7 @@ defmodule Pinchflat.YtDlp.MediaTest do
response = %{
"original_url" => "https://www.youtube.com/watch?v=TiZPUDkDYbk",
"aspect_ratio" => 0.5,
"duration" => 59,
"duration" => 150,
"upload_date" => "20210101"
}