Giter Site home page Giter Site logo

trakt_tv_localization's Introduction

trakt_tv_localization

www.trakt.tv is a realy great site to search and track movies and tv shows. But it's english only! It's hard to identify movies / tv shows, if original and localized title differs.

This small script crawls the active trakt.tv site and tries to change titles to your prefered language. The additional data is loaded from TMDB (https://www.themoviedb.org/).

Requirements:

Features:

  • On movies/tv shows overview:
    • Translates movie titles to choosen language
    • original title is displayed in brackets below
    • added TMDB Rating after Trakt Rating
  • On movie's/tv show's detail page:
    • Translates movie titles to choosen language
    • original title is displayed below localized title
    • localized plot is displayed below original plot
    • poster is localized
    • Trailers: Link to search on youtube for trailers in your language added in video section (below plot)
    • TMDB Rating added

Configuration:

  • At the top of the scriptfile there are two variables to configure your prefered language and enter your TMDB-Api-Key.
    • tmdb_api_key: Your TMDB-Api-Key (get it for free here: https://www.themoviedb.org/faq/api)
    • language: language code to be used on TMDB
    • langtext: used in search query for localized Youtube Trailer

Known Issues:

  • TMDB allows 40 request every 10 seconds. Trakt's movies overview contains 38 movies. So be a bit patient and stay on each page at least 10 seconds ;). Multiple fetches in one request seems not to be possible. Ideas are welcome
  • Remember: Only the displayed titles are translated. It's not possible to search Trakt DB in other languages then English

trakt_tv_localization's People

Contributors

quicksi avatar

Stargazers

Justin 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.