Greasy Fork is available in English.

Évaluations sur Trakt

Ajoute des évaluations d'IMDb, Rotten Tomatoes, Metacritic et MyAnimeList à Trakt

< Commentaires sur Évaluations sur Trakt

Question / commentaire

§
Posté le: 14/02/2019
Édité le: 15/02/2019

Ratings on Trakt : Work perfectly!

I wanted test your script . But it seems not working on Firefox / Chrome ... Am i alone with this problem ?

Ps: I have a key I am not logged to Trakt.

TEST LINK : https://trakt.tv/movies/back-to-the-future-1985

iFelix18Auteur
§
Posté le: 14/02/2019

Hi, Please open the console of your browser (Ctrl+Shift+J) and write "Ratings on Trakt" in the filter. You should see this:

§
Posté le: 15/02/2019
Édité le: 15/02/2019

Ha, yes sorry it work. But i can't see the rating like i see them on your example . I have taken the same movie than you in the screenshot...

And the result for me: The IMDb: https://www.imdb.com/title/tt0088763/?ref=fnaltt1

Now i know how to see the message from "console.log"

For my example: Ratings on Trakt: CSS added RatingsonTrakt.user.js:261:5 "Ratings on Trakt: OMDb API Key is http://www.omdbapi.com/?i=tt3896198&apikey=i hide it ;-)" RatingsonTrakt.user.js:187:5 Ratings on Trakt: IMDb ID is tt0088763 RatingsonTrakt.user.js:191:5 Ratings on Trakt: IMDb rating not available RatingsonTrakt.user.js:205:11

§
Posté le: 15/02/2019

The result for me with the API KEY (i don't see the french title):

Title   "Guardians of the Galaxy Vol. 2"
Year    "2017"
Rated   "PG-13"
Released    "05 May 2017"
Runtime "136 min"
Genre   "Action, Adventure, Comedy, Sci-Fi"
Director    "James Gunn"
Writer  "James Gunn, Dan Abnett (based on the Marvel comics by), Andy Lanning (based on the Marvel comics by), Steve Englehart (Star-Lord created by), Steve Gan (Star-Lord created by), Jim Starlin (Gamora and Drax created by), Stan Lee (Groot created by), Larry Lieber (Groot created by), Jack Kirby (Groot created by), Bill Mantlo (Rocket Raccoon created by), Keith Giffen (Rocket Raccoon created by), Steve Gerber (Howard the Duck created by), Val Mayerik (Howard the Duck created by)"
Actors  "Chris Pratt, Zoe Saldana, Dave Bautista, Vin Diesel"
Plot    "The Guardians struggle to keep together as a team while dealing with their personal family issues, notably Star-Lord's encounter with his father the ambitious celestial being Ego."
Language    "English"
Country "USA"
Awards  "Nominated for 1 Oscar. Another 12 wins & 42 nominations."
Poster  "https://m.media-amazon.com/images/M/MV5BMTg2MzI1MTg3OF5BMl5BanBnXkFtZTgwNTU3NDA2MTI@._V1_SX300.jpg"
Ratings 
0   
Source  "Internet Movie Database"
Value   "7.7/10"
1   
Source  "Rotten Tomatoes"
Value   "83%"
2   
Source  "Metacritic"
Value   "67/100"
Metascore   "67"
imdbRating  "7.7"
imdbVotes   "441,372"
imdbID  "tt3896198"
Type    "movie"
DVD "22 Aug 2017"
BoxOffice   "$389,804,217"
Production  "Walt Disney Pictures"
Website "https://marvel.com/guardians"
Response    "True"
iFelix18Auteur
§
Posté le: 15/02/2019
Édité le: 15/02/2019

@decembre ha detto:

Ratings on Trakt: OMDb API Key is http://www.omdbapi.com/?i=tt3896198&apikey=i hide it ;-) That's the problem. Put only the key in the settings, the one you hid.

If you see in the console:

Ratings on Trakt: OMDb API Key is http://www.omdbapi.com/?i=tt3896198&apikey=iXXXXXXX Put in the settings: iXXXXXXX

P.S. I have updated the script to highlight such errors in the console.

§
Posté le: 15/02/2019
Édité le: 15/02/2019

yes, that's good now! Thaanks and sorry for my mistake.

Work great!

PS: I want add this function to an other site: http://toblek.com/toblekk/

It's possible and how ?

iFelix18Auteur
§
Posté le: 15/02/2019

@decembre ha detto:

Work great! Thanks! :)

PS: I want add this function to an other site: http://toblek.com/toblekk/

It's possible and how ? No, not with this script, only Trakt.

§
Posté le: 15/02/2019

;-)

Just another tip, I wasn't seeing the ratings from other sites, so then I deleted all cookies from Trakt and then logged back in and it worked. Thank you for the script.

Poster une réponse

Connectez-vous pour poster une réponse.