cecobask / imdb-trakt-sync

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

Emails about login from IMDb. #47

Closed aktur closed 1 week ago

aktur commented 1 week ago

Since the last update, I have been receiving emails from IMDb about logins with my password from new locations. While this is expected due to the new access method using username and password, logging in should not be necessary because I am only syncing a public watchlist. I am aware of another project, Radarr, which can sync a public watchlist without requiring a login.

Perhaps it is worth checking out?

cecobask commented 1 week ago

Hi @aktur, I recently changed the auth flow of the syncer. This was done to reduce the effort of maintaining repository secrets.

Previously you had to log in to the IMDb website and extract a couple of cookies with your browser’s developer tools. This had to be done every time your cookies expired, typically 2-3 times a year. The new approach for authentication requires your email and password, then the syncer automates the rest for you. In other words, you don’t have to worry about updating repository secrets anymore.

The project depends on the user being authenticated to scrape information such as username, user id, watchlist id, list ids. Without authentication, these parameters will have to be provided to the syncer via configuration (environment variables, yaml file, command line flags). This increases the complexity for new users and takes more time to set up.

I’m aware of the spammy emails from IMDb about new logins from multiple locations. This is expected due to the nature of using GitHub-hosted runners. These are the workarounds that I can think of: