-
Import Movies or TVShows IDs from CSV file format into Trakt.tv.
-
Export Movies or TVShows IDs from Trakt.tv list into CSV file format.
-
Create trakt.tv custom list from TDMB discover with filter.
You must use Python 2.7.x.
Ensure you are running Python 2.7
$ python -V
Python 2.7.9
Install need module dependencies
$ apt-get install python-dateutil python-simplejson python-requests python-openssl jq
Download the installer: https://www.python.org/ftp/python/2.7.16/python-2.7.16.msi
Ensure you are running Python 2.7
C:\Python27>python.exe -V
Python 2.7.16
Install need module dependencies
C:\Python2.7\Scripts\easy_install-2.7.exe simplejson requests
-
Create an Trakt.tv application to have your own
client_id
andclient_secret
, https://trakt.tv/oauth/applications. You only need to fill up theName
with aDescription
andRedirect uri
to whatever (i.e. https://zapp.com, it is not being used), leave the rest empty and click onSAVE APP
. -
Run the script to create a default config file
config.ini
$ python export_trakt.py
-
Edit the config file
config.ini
and specify theclient_id
andclient_secret
as well as any other settings appropriate to your enviromenent, eg: URL, proxy, etc... Refer toConfiguration details
section for more information.$ vim config.ini
-
Run the script to authenticate against Trakt.tv API using the PIN method and it will generate you an
oauth_token
. You will be prompted to open a link into a browser and paste the pincode back to the script. Make sure you save the generatedoauth_token
into the config fileconfig.ini
for later use.$ python export_trakt.py
Export data from trakt.tv into CSV
Create trakt.tv list from TDMB discover with filter
Export Movies or TVShows IDs from Kodi into CSV file format. Export data from Kodi
Export Movies IDs from CouchPotato into CSV file format. Export data from CouchPotato
To get support, please create new issue
This script is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.