mnsrulz / gddirecturl

Google drive public link to direct downloadable media url (Video only)

Home Page:https://apighost.herokuapp.com/api/gddirect/{googledrivedocumentid}

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gddirecturl

Google drive public link to direct downloadable media url (Video only)

license CI npm latest package npm downloads github forks github stars

Installation

npm install gddirecturl

Usage:

var output = await gddirect.getMediaLink(gdriveid);

/*Output==>
{
    "src": "https://doc-0o-1c-docs.googleusercontent.com/docs/securesc/XXXXXXXXXXXXXXXX?e=download",
    "thumbnail": "https://lh3.googleusercontent.com/XXXXXXXXXXXXXXXXXXXXXXXc=w320"
}
*/

Testing

npm run test

Related

  • nurlresolver - An extensive url resolver includes many in built resolvers

About

Google drive public link to direct downloadable media url (Video only)

https://apighost.herokuapp.com/api/gddirect/{googledrivedocumentid}

License:MIT License


Languages

Language:JavaScript 100.0%