anoopsankar / trakt2letterboxd Goto Github PK
View Code? Open in Web Editor NEWScript to export your movies from Trakt to Letterboxd
License: Apache License 2.0
Script to export your movies from Trakt to Letterboxd
License: Apache License 2.0
Can you edit the code to return the WatchedDate
to be the Release Date
of the movie?
The Trakt API to return the movie release dates is this: API Page
I tried to edit the code but I couldn't make it work.
Using the API we can pass the parameter x['movie']['ids']['slug']
which contains the name of the movie in the url format and the country can be us
.
It returns various dates, the most important of which is the Theatrical
version.
Hi,
I tried to follow the tutorials linked in the readme but I can't seem to be able to launch the script (using Windows11, Python 3.10.4 and tried with Powershell and cmd).
I get an error message saying:
File "", line 1
python3 Trakt2Letterboxd.py
^^^^^^^^^^^^^^^^
SyntaxError: invalid syntax
Can you please help me with this? Thank you!
Hello, I've been trying to get this code to work for the past hour, and I'm uncertain if I'm just doing it wrong or if the code doesn't work anymore.
I have downloaded both Python 3.9.0 and Python 2.7.15. I initially started with the first, but then saw the note about how the script requires Python2.x to run, so I tried downloading the latter.
I have tried running 'python Trak2Letterboxd.py' in the Windows Command Prompt and nothing happens.
I have tried running it in the Python 3.9 command line and get the following:
`Python 3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
python Trakt2Letterboxd.py
File "", line 1
python Trakt2Letterboxd.py
^
SyntaxError: invalid syntax
`
And I have tried it in the Python 2.7.15 command line and get the same error:
`Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:30:26) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
python Trak2Letterboxd.py
File "", line 1
python Trak2Letterboxd.py
^
SyntaxError: invalid syntax
`
Am I missing something?
Thank you.
I'd love it if this tool could export my ratings on trakt to letterboxd.
EDIT: Oh, I see letterboxd has no option of importing ratings ๐ Super unfortunate, nevermind!
Hi,
I do not understand any Python (yet) and I only got this error when trying to run the script:
Completed page 40 of 40
Traceback (most recent call last):
File "/Users/scpBook/Downloads/Trakt2Letterboxd-master/Trakt2Letterboxd.py", line 197, in <module>
run()
File "/Users/scpBook/Downloads/Trakt2Letterboxd-master/Trakt2Letterboxd.py", line 191, in run
if write_csv(history, "trakt-exported.csv"):
File "/Users/scpBook/Downloads/Trakt2Letterboxd-master/Trakt2Letterboxd.py", line 178, in write_csv
writer.writerows(history)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/csv.py", line 158, in writerows
return self.writer.writerows(rows)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xd7' in position 2: ordinal not in range(128)
I run MacOS 10.13
With the tool, it was really damn easy to take the history of the scrobbled movies. Thanks a lot for the great work!
Unfortunately, it seems that so far the ratings from Trakt are not taken over (e.g. ',6' at the end of the .csv lines). Would it still be possible to bring these along using the tool as well?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.