Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.
drillbitsPublic archive

About

Google Drive streaming tool

Resources

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

68 Commits

Folders and files

Repository files navigation

dullahan

Build Status npm

dullahan supports streaming or downloading encoded videos on Google Drive with puppeteer.

Installation

$ npm install -g dullahan

Usage

$ dullahan help

Get cookie and stream map for streaming

Output cookie and stream map to stdout as JSON format.

$ dullahan session -e EMAIL -p PASSWORD -f FILE_ID
{"cookie":{"name":"DRIVE_STREAM","value":"xxx","domain":".drive.google.com","hostOnly":false,"path":"/","secure":true,"httpOnly":true,"session":true},"
stream_map":{"18":"https://..."}

Download the encoded video

$ dullahan download -e EMAIL -p PASSWORD -f FILE_ID -o OUTFILE

Attach to an existing browser

Start Google Chrome with the remote-debugging-port option.

$ google-chrome --remote-debugging-port=9222 --user-data-dir=/tmp

Start dullahan with the remote-debugging-port option, too.

$ dullahan download -e EMAIL -p PASSWORD -f FILE_ID -o OUTFILE --remote-debugging-port=9222

Skip sign-in

You can skip sign-in to Google account when you attach to an existing browser that has the session.

$ dullahan download -f FILE_ID -o OUTFILE --remote-debugging-port=9222 --skip-signin

License

Apache 2.0

About

Google Drive streaming tool

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages