Code Monkey home page Code Monkey logo

tubetoyoutube's Introduction

TUbeToYoutube

d888888P dP     dP dP                d8888b. dP    dP                     dP            dP                
   88    88     88 88                    `88 Y8.  .8P                     88            88                
   88    88     88 88d888b. .d8888b. .aaadP'  Y8aa8P  .d8888b. dP    dP d8888P dP    dP 88d888b. .d8888b. 
   88    88     88 88'  `88 88ooood8 88'        88    88'  `88 88    88   88   88    88 88'  `88 88ooood8 
   88    Y8.   .8P 88.  .88 88.  ... 88.        88    88.  .88 88.  .88   88   88.  .88 88.  .88 88.  ... 
   dP    `Y88888P' 88Y8888' `88888P' Y88888P    dP    `88888P' `88888P'   dP   `88888P' 88Y8888' `88888P' 
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo

Requirements

m3u8 downloader

$ sudo apt install -y ffmpeg
$ pip install --upgrade --user https://github.com/youthdev/m3u8downloader/archive/master.zip

Google Python API

$ pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib

Simple-Youtube-API

$ pip install simple-youtube-api

Quick start

$ python3 tubetoyoutube.py

Steps

  1. Go on TUbe select the video you want
  2. Go in Inspect mode of your browser
  3. Go to "Network"
  4. Start the video and select the GET request with name like: '"chunklist_xxxxx_xxxx.m3u8"\n
  5. Go to the Header of the select request and copy the link ending by m3u8
  6. Paste Link
  7. Enter video name
  8. Allow the script connecting to your Youtube Account (need to do it only once)
  9. Have fun !!

TODO List

  • add requirements.txt
  • mutltiple uploads
  • playlist creation

If you have some things you want to see in this script, contact me or open new issue

Useful Youtube Shortcuts

, = go backward by one frame

. = go forward by one frame

SHIFT + , = slow down video by 25%

SHIFT + . = speed up video by 25%

tubetoyoutube's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.