Giter Site home page Giter Site logo

vikisub's Introduction

BIG NOTE: This is deprecated solely on the fact of how old it is, I never really got around to making sure it worked
          as well as making it take in URLs. Maybe if/when I feel bored enough I'll look into doing more with this
          assuming there isn't a standard way of downloading subtitles from Viki by then (there might be right now as far as I know).


VikiSub - JSON to SRT for subtitles from Viki
==================

BACKGROUND
==================
So this is something that was made over the course of the
weekend, and at the start of it I knew little to no Ruby at all.

So I was messing around with the Viki.com, and got curious
with how they do their subtitles. After a bit of poking around
in the source code I found where the subtitle files are stored
for each video. They're stored as JSON files with the start/end
times as milliseconds, and well to skip a bunch, this little ruby script/program was made. Many thanks to my friend torque with help on this and Ruby in general.

It's pretty basic at the moment, I plan to do quite a bit with it though. Please also don't go claiming any converted subtitles as entirely your own, as it's thanks to whoever made the translations.


USAGE
==================
VikiSub.rb file.json file.srt [file2.json file2.srt and so on]


REQUIREMENTS
==================
Ruby 1.9.3 (Least that's what I've tested it in)
JSON gem


VERSION HISTORY
==================
0.1
Can take in local JSON files
Makes a standard SRT file

vikisub's People

Contributors

jinjaruu avatar

Forkers

asfa

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.