An open API service indexing awesome lists of open source software.

https://github.com/henry-richard7/go-movies-series-api

This Go program scrapes movies and series from https://vidcloud9.com and gives you as API.
https://github.com/henry-richard7/go-movies-series-api

movies-api rest-api restful-api series-api streamer tv-shows-api

Last synced: 25 days ago
JSON representation

This Go program scrapes movies and series from https://vidcloud9.com and gives you as API.

Awesome Lists containing this project

README

          

# Go-Movies-Series-API
This Go program scrapes movies and series from https://vidcloud9.com and gives you as API.

# Used External Libraries
* [Colly](https://github.com/gocolly/colly) for Scraping websites.

# How to use
* Run MoviesApi.go by go run test.go.
* In Browser go to http://localhost:8080/movies?pageNo=1 for Movies and http://localhost:8080/series?pageNo=1 for series.
* To get direct link of a movie go to http://localhost:8080/directLink?videoLink=
* To get episodes list for a series go to http://localhost:8080/episodes?videoLink=

# Example Output

Movies API result
Here is the output result for movies.


```json
[{
"Title": "Together (2021)",
"Link": "https://vidcloud9.com/videos/together-2021",
"Poster": "https://cdn.themovieseries.net/cover/together-2021.png"
},
{
"Title": "Spin",
"Link": "https://vidcloud9.com/videos/spin",
"Poster": "https://cdn.themovieseries.net/cover/spin.png"
}]
```

Series API result
Here is the output result for series.


```json
[{
"Title": "DC's Legends of Tomorrow - Season 6 Episode 12 - Bored on Board Onboard",
"Link": "https://vidcloud9.com/videos/dcs-legends-of-tomorrow-season-6-episode-12-bored-on-board-onboard",
"Poster": "https://cdn.themovieseries.net/cover/dcs-legends-of-tomorrow-season-6.png"
},
{
"Title": "Last Week Tonight With John Oliver - Season 8 Episode 21",
"Link": "https://vidcloud9.com/videos/last-week-tonight-with-john-oliver-season-8-episode-21",
"Poster": "https://cdn.themovieseries.net/cover/last-week-tonight-with-john-oliver-season-8.png"
}]
```

Episodes API result
Here is the output result for episodes.


```json
[{
"EpisodeNumber": "DC's Legends of Tomorrow - Season 6 Episode 12 - Bored on Board Onboard",
"EpisodeUrl": "https://vidcloud9.com/videos/dcs-legends-of-tomorrow-season-6-episode-12-bored-on-board-onboard"
},
{
"EpisodeNumber": "DC's Legends of Tomorrow - Season 6 Episode 11 - The Final Frame",
"EpisodeUrl": "https://vidcloud9.com/videos/dcs-legends-of-tomorrow-season-6-episode-11-the-final-frame"
}]
```


# My Youtube Channel
[![](https://img.shields.io/badge/Subscribe-red?style=for-the-badge&logo=YouTube)](https://www.youtube.com/channel/UCVGasc5jr45eZUpZNHvbtWQ)

[![](https://img.shields.io/youtube/channel/subscribers/UCVGasc5jr45eZUpZNHvbtWQ?style=social)](https://www.youtube.com/channel/UCVGasc5jr45eZUpZNHvbtWQ)

### ⚠ Disclamier
The movies and series showed here are not hosted by the Author, This program scrapes from https://vidcloud9.com which is available in the web.