mirror of
https://gitlab.com/foxixus/neomovies-api.git
synced 2025-10-28 01:48:51 +05:00
fix: remove parser and fix docs syntax
- Fix OpenAPI documentation syntax error (extra indent before vidsrc) - Remove server-side parser (chromedp) - not suitable for Vercel - Client-side scraping not possible due to Same-Origin Policy - Keep simple iframe players as current solution
This commit is contained in:
@@ -377,7 +377,7 @@ func getOpenAPISpecWithURL(baseURL string) *OpenAPISpec {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"/api/v1/players/vidsrc/{media_type}/{imdb_id}": map[string]interface{}{
|
"/api/v1/players/vidsrc/{media_type}/{imdb_id}": map[string]interface{}{
|
||||||
"get": map[string]interface{}{
|
"get": map[string]interface{}{
|
||||||
"summary": "Vidsrc плеер (английский)",
|
"summary": "Vidsrc плеер (английский)",
|
||||||
"description": "Возвращает HTML-страницу с iframe Vidsrc.to. Использует IMDb ID для фильмов и сериалов. Пример URL для фильма: https://vidsrc.to/embed/movie/tt1234567, для сериала: https://vidsrc.to/embed/tv/tt6385540/1/1",
|
"description": "Возвращает HTML-страницу с iframe Vidsrc.to. Использует IMDb ID для фильмов и сериалов. Пример URL для фильма: https://vidsrc.to/embed/movie/tt1234567, для сериала: https://vidsrc.to/embed/tv/tt6385540/1/1",
|
||||||
|
|||||||
Reference in New Issue
Block a user