mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-12-20 05:25:36 +00:00
Add get info route and video parsing
This commit is contained in:
@@ -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),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user