Code Monkey home page Code Monkey logo

pysub-dl's Introduction

======== pysub-dl

Subtitle downloader

Actually now it only supports subscene.com to download the subtitles.

Installation

To install the script do this

Option 1 : Install via pip ::

$ sudo pip install pysub-dl

Option 2 : If you have downloaded the source ::

$ sudo python setup.py install

Do not forget to upgrade it after a week interval I am modifying so many things very frequently ::

$ sudo pip install pysub-dl --upgrade

How to use

Use it like: pysub-dl movie [language]

[language] is optional, if language is provided you will see subtitles available for that language only or it will show you all.

For help ::

$ pysub-dl --help

General usage ::

$ pysub-dl iron-man english

$ pysub-dl hitman spanish

If you do not provide any language it will show you all the available subtitles for that movie for all languages.

One request: Do not use space in the movie name, Use '-'(hyphen) instead of ' '(white space). Movie name is not case sensitive, so all you have to worry about the space only or if you want to use special characters like ' you can use double quotes i. e. ::

$ pysub-dl "we're the millers"

First you should go to your movie directory then you should execute your code, it will be better cause execution downloads the subtitle file(s) in the present working directory but it is not mandatory.

On execution it will show the list of subtitles available at the moment at subscene.com for that particular movie. You have to choose one number from them.

Uncertainly if you give wrong movie name, no problem it will show you the probable movie name and you have to choose from them.

For windows users they should download the package manually and extract it. Run it on that directory as ::

C:\master> python pysub-dl incredibles english

Press [Ctrl] + c or [Ctrl] + d to exit immediately.

For windows users it is [Ctrl] + z (I think).

Reporting Bugs

Please report bugs at github issue tracker: https://github.com/iamsudip/pysub-dl/issues

Author

iamsudip [email protected]

pysub-dl's People

Contributors

iamsudip avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pysub-dl's Issues

Got error when using

I get the following error:
Traceback (most recent call last): File "/usr/local/bin/pysub-dl", line 216, in <module> search_sub(link) File "/usr/local/bin/pysub-dl", line 192, in search_sub alternate_search() File "/usr/local/bin/pysub-dl", line 65, in alternate_search print "{counter}. {key}".format(counter=num+1, key=key) UnicodeEncodeError: 'ascii' codec can't encode characters in position 51-52: ordinal not in range(128)

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.