Add get info route and video parsing

This commit is contained in:
2024-01-12 22:43:04 +01:00
parent 45091da5ac
commit 5c83162a29
9 changed files with 227 additions and 22 deletions

View File

@@ -41,7 +41,7 @@ func GetPath(resource string, slug string) (string, error) {
if res.StatusCode != 200 {
return "", echo.NewHTTPError(
http.StatusNotAcceptable,
http.StatusNotFound,
fmt.Sprintf("No %s found with the slug %s.", resource, slug),
)
}