Giter Site home page Giter Site logo

TMDB SSL Error about netflix-to-trakt-import HOT 6 CLOSED

jensb89 avatar jensb89 commented on May 29, 2024
TMDB SSL Error

from netflix-to-trakt-import.

Comments (6)

jensb89 avatar jensb89 commented on May 29, 2024

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.

Jamie0691 avatar Jamie0691 commented on May 29, 2024

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.

Jamie0691 avatar Jamie0691 commented on May 29, 2024

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.

jensb89 avatar jensb89 commented on May 29, 2024

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.

Jamie0691 avatar Jamie0691 commented on May 29, 2024

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.

jensb89 avatar jensb89 commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.