Skip to content

mrauer/freetube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FreeTube

Logo

FreeTube

Offline viewing of YouTube videos.

Report Bug · Request Feature

Table of Contents

  1. Commands
  2. License

Commands

Authorize your device

Once you start the software for the first time you will be asked to authorize your device.

If you are in the dev environment (TOKEN_FROM_PROMPT set to 1), then you will be asked to visit a web page and get token from there:

./freetube


https://accounts.google.com/o/oauth2/auth?access_type=offline&client ...

4/0AX4XfWg9TyeoxQ1yvMyE09yA14OM2pXv-CfKOj11h9vsp79YaFaFOotrDSoWxxxxxxxxxx 
(this is what the token should look like)

In case you've downloaded the software, a web page will open and you just need to follow the flow. This will only be asked you once until the token expire.

There might be some conflicts. Make sure that .credentials/youtube-go.json is removed before you proceed.

Choose from the list of subscriptions

From now on your device is authorized and we can proceed with the next step.

The regular command with no arguments should now return the list of channels you've subscribed for.

./freetube


0 : IHU Méditerranée-Infection (UCFaPzuoXcACu7jplePDfXmA)
1 : Sud Radio (UCESTwDXpoMgiYBHipMdKTkQ)
2 : Marianne (UC4V5osIDMjFwtCRxMm2e0LA)
...

You can choose a channel from which all videos will be downloaded as .mp4. Any that you would have already downloaded will not be re-downloaded.

Choose from the above subscriptions which one to download all videos from: 35

Downloading Complot Vieux - Made In Groland
Downloading La prevention ivresse - Groland Le Zapoi du 28/04 - CANAL+

License

Distributed under the MIT License. See LICENSE for more information.