Giter Site home page Giter Site logo

youtube-downloader2's Introduction

youtube-downloader2

環境構築

python -m venv venv
.\venv\Scripts\activate.bat
pip install -r requirements.txt
app.py -yid [youtube id] --debug --convert-mp3 --thumb-second 60

オプション

オプション名 内容
-yid, --youtube-id 動画のID(必須)
--debug デバッグログを出力します。
--convert-mp3 ダウンロードした動画をMP3に変換します。要ffmpeg
--thumb-second 初期値:1
数値のみ指定可能
動画から取得するサムネイルの秒数を指定します。
取得したサムネイルはMP3のID3タグに埋め込むアルバムアートに使用されます。
--force ダウンロードディレクトリにMP4やMP3が存在する場合に未確認で上書きします

メモ

ダウンロードした動画をMP3形式に変換するにはffmpegが必要です。
環境変数の設定が済んでいる場合はそのまま使えると思います。
設定されていない場合はプログラム実行時に開かれるダイアログでffmpeg.exeが存在するディレクトリを設定してください。

youtube-downloader2's People

Contributors

imo-tikuwa avatar

Watchers

 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.