shah / uniform-resource

Uniform resource transformers for content orchestration engines
GNU Affero General Public License v3.0
1 stars 0 forks source link

Curation of video content #11

Closed vprdnew closed 4 years ago

vprdnew commented 4 years ago

Hi @shah

We have an option where to curate videos from chanels like youtube, vimeo.

It will be beter to mentioned the trusted chanels as a inistilazable object.

Create uniform object 
Initialize the video chanels
curate the resource. 
Check weather falls on provided video chanels 
if yes then 
     return as video type object and parameters . 
       [
         videoUrl
         videoSource
         thumbnail image
         description
      ]
shah commented 4 years ago

This is a good idea. @vprdnew please put some code samples or references to libraries for "initialize the video channels" and how to extract the meta data into UR.

shah commented 4 years ago

@vprdnew I've added the Metascraper library as a new UniformResourceTransformer. Metascraper supports video, YouTube, and media scraping so please see the test case in @v0.9.5 to see if that works. Warning: some of the Metascraper plugins are slow so you'll have to decide which ones to use.