cecobask / imdb-trakt-sync

Automatic sync from IMDb to Trakt (watchlist, lists, ratings and history) using GitHub actions.
MIT License
91 stars 216 forks source link

Sync Error #55

Closed BardaktakiAdam closed 2 months ago

BardaktakiAdam commented 2 months ago

Hi, it's me again. Sorry for disturbing you every time. I might be able to help you with those error screenshots, hopefully. Today I updated the fork and ran the action, again I got the error. Also, I would like to ask if there is a way to sync the fork automatically. Thank you so much @cecobask

image

BardaktakiAdam commented 2 months ago

image

cecobask commented 2 months ago

Hi @BardaktakiAdam,

I don't recommend you to automatically syncing your fork. Let's say you've set up your fork to suit your needs and everything works flawlessly. What if one day the original repository introduces breaking changes, which is very likely to happen in the future, and your fork automatically syncs them? Then you end up with broken sync workflows and must figure out what changed to make it all work again. If you didn't automatically sync, you'd keep using the version of the source code in your fork and potential breaking changes wouldn't impact you.

In the first screenshot, it looks like you're using credentials authentication method for IMDb. If you keep seeing the captcha error, you can switch to using cookies auth method. Once the cookies expire, your sync workflow will stop working and you'll have to update the cookies. However, this usually takes a few months until it happens.

In the second screenshot I can't tell what happened because IMDB_TRACE is probably disabled. You can set it to true for me to see more details of what happened.

BardaktakiAdam commented 2 months ago

Thank you for the information @cecobask

I have updated the cookies again and IMDB_TRACE is true. The problem is still the same I guess.

image

cecobask commented 2 months ago

After checking your latest sync workflow I saw that it's stuck determining what the outcome of your IMDb authentication is, which shouldn't happen if you've set IMDB_AUTH to cookies. Please, check your configuration carefully. This is an example of my configuration when using cookies:

IMDB_AUTH=cookies
IMDB_COOKIEATMAIN=XXX
IMDB_COOKIEUBIDMAIN=XXX
IMDB_TRACE=true
SYNC_MODE=full
SYNC_HISTORY=true
SYNC_RATINGS=true
SYNC_WATCHLIST=true
TRAKT_CLIENTID=XXX
TRAKT_CLIENTSECRET=XXX
TRAKT_EMAIL=XXX
TRAKT_PASSWORD=XXX