Giter Club home page Giter Club logo

osman's Introduction

Translate Osman series

Here we show the steps, to download, then translate youtube Osman episodes starting of episode 90 then you can watch them translated to English and Arabic, in your computer.

Setup

This is the setup in macOS

% sudo mkdir -p /usr/local/bin
% sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
% sudo chmod a+rx /usr/local/bin/youtube-dl

The following step is optional if you want to translate new episodes not included in the resources directory.
% vim translation_key.py
key = "<PUT THE KEY FROM YOUR GOOGLE TRANSLATE API ACCOUNT>"

% brew install pyenv
% pyenv install 2.7.18
% pyenv global 2.7.18
% pyenv init --path
copy the output
% vi ~/.zshrc
paste then save
% source ~/.zshrc 
% sudo easy_install -U requests
% sudo -H pip3 install requests
% sudo -H pip3 install gTTS
% brew install ffmpeg
% brew install handbrake

Usage

  • To build episode 90 till episode 93 and translate from Turkish to English:
$ ./build.sh 90 93 tr en

osman's People

Contributors

amraboelela avatar

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.