Went back to using original_url over webpage_url to improve short detection (#447)

This commit is contained in:
Kieran
2024-10-30 14:09:28 -07:00
committed by GitHub
parent 2f83fe03d2
commit a5afcf168b
6 changed files with 27 additions and 25 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ defmodule Pinchflat.MediaFixtures do
media_attributes = %{
id: "video1",
title: "Video 1",
webpage_url: "https://example.com/video1",
original_url: "https://example.com/video1",
live_status: "not_live",
description: "desc1",
aspect_ratio: 1.67,
+3 -3
View File
@@ -80,7 +80,7 @@ defmodule Pinchflat.SourcesFixtures do
%{
id: "video1",
title: "Video 1",
webpage_url: "https://example.com/video1",
original_url: "https://example.com/video1",
live_status: "not_live",
description: "desc1",
aspect_ratio: 1.67,
@@ -90,7 +90,7 @@ defmodule Pinchflat.SourcesFixtures do
%{
id: "video2",
title: "Video 2",
webpage_url: "https://example.com/video2",
original_url: "https://example.com/video2",
live_status: "is_live",
description: "desc2",
aspect_ratio: 1.67,
@@ -100,7 +100,7 @@ defmodule Pinchflat.SourcesFixtures do
%{
id: "video3",
title: "Video 3",
webpage_url: "https://example.com/video3",
original_url: "https://example.com/video3",
live_status: "not_live",
description: "desc3",
aspect_ratio: 1.0,