Skip to content

mnsrulz/gddirecturl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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