Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.32 KB

README.md

File metadata and controls

39 lines (28 loc) · 1.32 KB

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