Comments (6)
Hi Jamie, could it be that you didn't provide a API Key? The url points to "/3/search/tv?api_key=&query=Gotham ... ". Seems like the api key is empty.
from netflix-to-trakt-import.
Hi Jamie, could it be that you didn't provide a API Key? The url points to "/3/search/tv?api_key=&query=Gotham ... ". Seems like the api key is empty.
Hi Jens, sorry didn't see the reply. In the config.py file I pasted in the API key that was given by TMDB under the header
TMDB_API_KEY =, I have wrapped the API key in "", is that correct?
from netflix-to-trakt-import.
Managed to get this working on another machine, however now seeing this error
Adding epsiode to trakt: Traceback (most recent call last): File "C:\Users\Jamie\Desktop\Netflix-to-Trakt-Import\netflix2trakt.py", line 163, in <module> time = datetime.datetime.strptime(watchedTime + ' 20:15', config.CSV_DATETIME_FORMAT + ' %H:%M') File "C:\Users\Jamie\AppData\Local\Programs\Python\Python310\lib\_strptime.py", line 568, in _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format) File "C:\Users\Jamie\AppData\Local\Programs\Python\Python310\lib\_strptime.py", line 349, in _strptime raise ValueError("time data %r does not match format %r" % ValueError: time data '26.01.2019 20:15' does not match format '%d/%m/%Y %H:%M'
This is the config.py entry
CSV_DATETIME_FORMAT = "%d/%m/%Y"
This is an example of the netflix export
Title,Date "United 93","21/02/2022"
from netflix-to-trakt-import.
Hi Jamie, the error is "26.01.2019 20:15' does not match format '%d/%m/%Y %H:%M".
Could you please try to change the format string in the config to %d.%m.%Y ? So just change the / to .
This could be a bug indeed, seems like the "/" are converted internally already to dots. If it works with dots I can create a general fix so it will work with the / as well.
Please let me know if it helps :)
from netflix-to-trakt-import.
Hi Jamie, the error is "26.01.2019 20:15' does not match format '%d/%m/%Y %H:%M".
Could you please try to change the format string in the config to %d.%m.%Y ? So just change the / to .
This could be a bug indeed, seems like the "/" are converted internally already to dots. If it works with dots I can create a general fix so it will work with the / as well.
Please let me know if it helps :)
Changing the / to a . in the CSV file worked, thanks again for an excellent tool! Just wish the other streaming platforms you could export from and then could use this on them all!
from netflix-to-trakt-import.
Awesome, glad it worked :)
I will work on a general fix for this problem when I can find some spare time.
Yeah, unfortunately, most other streaming platforms don't provide just a nice log, at least the few I checked :(
from netflix-to-trakt-import.
Related Issues (19)
- no tmdbv3api? HOT 2
- Error HOT 1
- can't import into trakt HOT 1
- [New feature] Partial sync
- Fantastic! HOT 1
- Error message when trying to import HOT 8
- Error after processing through many HOT 11
- [IMPROVEMENT] Netflix2trakt.py
- Check if entry has already been logged in Trakt HOT 1
- Error HOT 3
- time data error from ViewingActivity HOT 15
- Type Error HOT 3
- ValueError: time data '01/07/2023 20:15' does not match format '%d/%m/%y %H:%M' HOT 4
- datetime error HOT 3
- Titles that caused errors
- Program runs without errors, Trakt not updated HOT 6
- time data '12.04.2022 20:15' does not match format HOT 1
- Not syncing to trakt? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netflix-to-trakt-import.