This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$traktApiClientId = "TRAKT-APP-CLIENTID"; // You can create an app in https://trakt.tv/oauth/applications | |
// This fields can be extracted from a real request to add a title to a list | |
$imdbListId = "list-id"; // list where you want to add watched titles, captured from url called with this format: "https://www.imdb.com/list/<<list-id>>/<<title-id>>/add" (list-id is the needed value) | |
$imdbCookie = "cookie"; // request header with name "cookie", it must be copied exactly as sent from the website | |
$imdbPost = "post-data"; // data sent in the body of the request | |
// TRAKT |