henry-richard7 / Go-Movies-Series-API

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go-Movies-Series-API

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

Used External Libraries

  • Colly for Scraping websites.

How to use

Example Output

Movies API result Here is the output result for movies.
[{
  "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.
[{
  	"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.
[{
  	"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

⚠ 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.

About

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

License:MIT License


Languages

Language:Go 100.0%