IMDbTraktSyncer


NameIMDbTraktSyncer JSON
Version 1.1.5 PyPI version JSON
download
home_pagehttps://github.com/RileyXX/IMDb-Trakt-Syncer
SummaryThis python script will sync user ratings for Movies and TV Shows both ways between Trakt and IMDb.
upload_time2023-05-18 02:43:14
maintainer
docs_urlNone
author
requires_python
license
keywords python video trakt imdb ratings sync movies tv shows
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# IMDb-Trakt-Syncer
This python script will sync user ratings for Movies and TV Shows both ways between Trakt and IMDb. Ratings already set will not be overwritten. This script should work on an OS where python and chromedriver are supported (Windows, Linux, Mac, and ChromeOS). If you're looking to sync your ratings between Trakt, Plex, IMDB, and TMDB then these are my recommended projects: [PlexTraktSync](https://github.com/Taxel/PlexTraktSync), [IMDb-Trakt-Syncer](https://github.com/RileyXX/IMDb-Trakt-Syncer) & [TMDB-Trakt-Syncer](https://github.com/RileyXX/TMDB-Trakt-Syncer).
## Install Instructions:
1. Install [Python](https://www.python.org/downloads/) and [Google Chrome](https://www.google.com/chrome/). _If these are already installed on your machine you can ignore this step. Please note this script does not effect Chrome in anyway it is simply required in order for chromedriver to work._
2. Run `python -m pip install IMDbTraktSyncer` in command line.
3. Login to [Trakt](https://trakt.tv/oauth/applications) and create a new API application. We will name it `IMDbTraktSyncer`. In the Redirect uri field enter `urn:ietf:wg:oauth:2.0:oob` then Save. 
4. Run the script by calling `IMDbTraktSyncer` in command line. 
5. Follow the prompts on first run. It will ask you to fill in your Trakt client id and client secret from step 3. It will also ask you to enter your IMDb username and password. Please note that these details are saved insecurely as credentials.txt in the same folder as the script. Recommended to change your password to something unique beforehand.
6. Done, setup complete. The script will continue to run and sync your ratings. This may take some time, you can follow its progress in the command line.

## Run:
`IMDbTraktSyncer` in command line.

## Update:
`python -m pip install IMDbTraktSyncer --upgrade` in command line.

## Uninstall:
`python -m pip uninstall IMDbTraktSyncer` in command line.

## Install specific version:
`python -m pip install IMDbTraktSyncer==VERSION_NUMBER` in command line. Replace `VERSION_NUMBER` with your [desired version](https://github.com/RileyXX/IMDb-Trakt-Syncer/releases).

## Alternative manual no pip install method:
1. Install [Python](https://www.python.org/downloads/) and [Google Chrome](https://www.google.com/chrome/). _If these are already installed on your machine you can ignore this step. Please note this script does not effect Chrome in anyway it is simply required in order for chromedriver to work._
2. Download the latest .zip from the [releases page](https://github.com/RileyXX/IMDb-Trakt-Syncer/releases) and extract it to the file directory of your choice.
3. Login to [Trakt](https://trakt.tv/oauth/applications) and create a new API application. We will name it `IMDbTraktSyncer`. In the Redirect uri field enter `urn:ietf:wg:oauth:2.0:oob` then Save. 
4. Run `IMDbTraktSyncer.py` OR open terminal and navigate to folder where `IMDbTraktSyncer.py` is located. Run `IMDbTraktSyncer.py` in terminal. 
5. Follow the prompts on first run. It will ask you to fill in your Trakt client id and client secret from step 3. It will also ask you to enter your IMDb username and password. Please note that these details are saved insecurely as credentials.txt in the same folder as the script. Recommended to change your password to something unique beforehand.
6. Done. The script will continue to run and sync your ratings. This may take some time, you can follow its progress in the command line.

## Troubleshooting, known issues, workarounds & future outlook:
* IMDb may require a captcha on login. If you see "Not signed in" appear in the script then the script will fail and the captcha is likely to be the cause. To fix this, navigate to IMDb website in your browser, preferably Chrome and from the same computer. If logged in, logout, and log back in. It may ask you to fill in a captch, complete it and finish logging in. After logging in succesfully on your browser run the script again and it should work. You may need to repeat this step once or twice if it still gives you issues. I'm looking into adding a captcha solver into the script to solve this problem, but it is currently not implemented. https://github.com/RileyXX/IMDb-Trakt-Syncer/issues/2
* If you see an error about having the incorrect version of Chrome driver. Uninstall it by running `python -m pip uninstall chromedriver-py` in command line. In your Chrome browser navigate to Settings > About Chrome and check your version (112... or 111 etc). This would indicate you are on Chrome version 112. Navigate to [chromedriver-py releases page](https://pypi.org/project/chromedriver-py/#history) and find the latest version that is the same Chrome version (112) already on your machine. Copy the version number you need. Then in command line run `python -m pip install chromedriver-py==VERSION_NUMBER`. Replace `VERSION_NUMBER` with the version you copied and press enter. This will install the correct chromedriver version. Run the script again and it should work. https://github.com/RileyXX/IMDb-Trakt-Syncer/issues/16
* Due to IMDb's lack of API and lack of rating import ability, this script uses a rather unconventional method that mimics using a web browser to set ratings on IMDB. So there are many points of failure that could arise. I will try my best to keep the script updated as best possible.
* If any of your details change, passwords, logins, api keys etc, just delete credentials.txt and that will reset the script. It will prompt you to enter your new details on next run.

## Screenshot:
![Demo](https://i.imgur.com/QXCtGrr.png)


## Sponsorships, Donations and Custom Projects:
Like my scripts? Become a [sponsor](https://github.com/sponsors/RileyXX) and support my projects! See below for other donation options. Need help with a project? Open an issue and I will try my best to help! For other inquiries and custom projects contact me on [Twitter](https://twitter.com/RileyxBell).

#### More donation options:
- Cashapp: `$rileyxx`
- Venmo: `@rileyxx`
- Bitcoin: `bc1qrjevwqv49z8y77len3azqfghxrjmrjvhy5zqau`
- Amazon Wishlist: [Link ↗](https://www.amazon.com/hz/wishlist/ls/WURF5NWZ843U)

## Also posted on:
* [PyPi](https://pypi.org/project/IMDbTraktSyncer/)
* [Reddit](https://www.reddit.com/r/trakt/comments/132heo0/imdb_trakt_rating_syncer_tool_sync_both_ways/)

<br>

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/RileyXX/IMDb-Trakt-Syncer",
    "name": "IMDbTraktSyncer",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,video,trakt,imdb,ratings,sync,movies,tv shows",
    "author": "",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/b7/e2/e9a3dc4cbbcd1380c3512827f1a71dd9e9cf9f097b6c3adb729885196bfa/IMDbTraktSyncer-1.1.5.tar.gz",
    "platform": null,
    "description": "\r\n# IMDb-Trakt-Syncer\r\nThis python script will sync user ratings for Movies and TV Shows both ways between Trakt and IMDb. Ratings already set will not be overwritten. This script should work on an OS where python and chromedriver are supported (Windows, Linux, Mac, and ChromeOS). If you're looking to sync your ratings between Trakt, Plex, IMDB, and TMDB then these are my recommended projects: [PlexTraktSync](https://github.com/Taxel/PlexTraktSync), [IMDb-Trakt-Syncer](https://github.com/RileyXX/IMDb-Trakt-Syncer) & [TMDB-Trakt-Syncer](https://github.com/RileyXX/TMDB-Trakt-Syncer).\r\n## Install Instructions:\r\n1. Install [Python](https://www.python.org/downloads/) and [Google Chrome](https://www.google.com/chrome/). _If these are already installed on your machine you can ignore this step. Please note this script does not effect Chrome in anyway it is simply required in order for chromedriver to work._\r\n2. Run `python -m pip install IMDbTraktSyncer` in command line.\r\n3. Login to [Trakt](https://trakt.tv/oauth/applications) and create a new API application. We will name it `IMDbTraktSyncer`. In the Redirect uri field enter `urn:ietf:wg:oauth:2.0:oob` then Save. \r\n4. Run the script by calling `IMDbTraktSyncer` in command line. \r\n5. Follow the prompts on first run. It will ask you to fill in your Trakt client id and client secret from step 3. It will also ask you to enter your IMDb username and password. Please note that these details are saved insecurely as credentials.txt in the same folder as the script. Recommended to change your password to something unique beforehand.\r\n6. Done, setup complete. The script will continue to run and sync your ratings. This may take some time, you can follow its progress in the command line.\r\n\r\n## Run:\r\n`IMDbTraktSyncer` in command line.\r\n\r\n## Update:\r\n`python -m pip install IMDbTraktSyncer --upgrade` in command line.\r\n\r\n## Uninstall:\r\n`python -m pip uninstall IMDbTraktSyncer` in command line.\r\n\r\n## Install specific version:\r\n`python -m pip install IMDbTraktSyncer==VERSION_NUMBER` in command line. Replace `VERSION_NUMBER` with your [desired version](https://github.com/RileyXX/IMDb-Trakt-Syncer/releases).\r\n\r\n## Alternative manual no pip install method:\r\n1. Install [Python](https://www.python.org/downloads/) and [Google Chrome](https://www.google.com/chrome/). _If these are already installed on your machine you can ignore this step. Please note this script does not effect Chrome in anyway it is simply required in order for chromedriver to work._\r\n2. Download the latest .zip from the [releases page](https://github.com/RileyXX/IMDb-Trakt-Syncer/releases) and extract it to the file directory of your choice.\r\n3. Login to [Trakt](https://trakt.tv/oauth/applications) and create a new API application. We will name it `IMDbTraktSyncer`. In the Redirect uri field enter `urn:ietf:wg:oauth:2.0:oob` then Save. \r\n4. Run `IMDbTraktSyncer.py` OR open terminal and navigate to folder where `IMDbTraktSyncer.py` is located. Run `IMDbTraktSyncer.py` in terminal. \r\n5. Follow the prompts on first run. It will ask you to fill in your Trakt client id and client secret from step 3. It will also ask you to enter your IMDb username and password. Please note that these details are saved insecurely as credentials.txt in the same folder as the script. Recommended to change your password to something unique beforehand.\r\n6. Done. The script will continue to run and sync your ratings. This may take some time, you can follow its progress in the command line.\r\n\r\n## Troubleshooting, known issues, workarounds & future outlook:\r\n* IMDb may require a captcha on login. If you see \"Not signed in\" appear in the script then the script will fail and the captcha is likely to be the cause. To fix this, navigate to IMDb website in your browser, preferably Chrome and from the same computer. If logged in, logout, and log back in. It may ask you to fill in a captch, complete it and finish logging in. After logging in succesfully on your browser run the script again and it should work. You may need to repeat this step once or twice if it still gives you issues. I'm looking into adding a captcha solver into the script to solve this problem, but it is currently not implemented. https://github.com/RileyXX/IMDb-Trakt-Syncer/issues/2\r\n* If you see an error about having the incorrect version of Chrome driver. Uninstall it by running `python -m pip uninstall chromedriver-py` in command line. In your Chrome browser navigate to Settings > About Chrome and check your version (112... or 111 etc). This would indicate you are on Chrome version 112. Navigate to [chromedriver-py releases page](https://pypi.org/project/chromedriver-py/#history) and find the latest version that is the same Chrome version (112) already on your machine. Copy the version number you need. Then in command line run `python -m pip install chromedriver-py==VERSION_NUMBER`. Replace `VERSION_NUMBER` with the version you copied and press enter. This will install the correct chromedriver version. Run the script again and it should work. https://github.com/RileyXX/IMDb-Trakt-Syncer/issues/16\r\n* Due to IMDb's lack of API and lack of rating import ability, this script uses a rather unconventional method that mimics using a web browser to set ratings on IMDB. So there are many points of failure that could arise. I will try my best to keep the script updated as best possible.\r\n* If any of your details change, passwords, logins, api keys etc, just delete credentials.txt and that will reset the script. It will prompt you to enter your new details on next run.\r\n\r\n## Screenshot:\r\n![Demo](https://i.imgur.com/QXCtGrr.png)\r\n\r\n\r\n## Sponsorships, Donations and Custom Projects:\r\nLike my scripts? Become a [sponsor](https://github.com/sponsors/RileyXX) and support my projects! See below for other donation options. Need help with a project? Open an issue and I will try my best to help! For other inquiries and custom projects contact me on [Twitter](https://twitter.com/RileyxBell).\r\n\r\n#### More donation options:\r\n- Cashapp: `$rileyxx`\r\n- Venmo: `@rileyxx`\r\n- Bitcoin: `bc1qrjevwqv49z8y77len3azqfghxrjmrjvhy5zqau`\r\n- Amazon Wishlist: [Link \u2197](https://www.amazon.com/hz/wishlist/ls/WURF5NWZ843U)\r\n\r\n## Also posted on:\r\n* [PyPi](https://pypi.org/project/IMDbTraktSyncer/)\r\n* [Reddit](https://www.reddit.com/r/trakt/comments/132heo0/imdb_trakt_rating_syncer_tool_sync_both_ways/)\r\n\r\n<br>\r\n\r\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "This python script will sync user ratings for Movies and TV Shows both ways between Trakt and IMDb.",
    "version": "1.1.5",
    "project_urls": {
        "Homepage": "https://github.com/RileyXX/IMDb-Trakt-Syncer"
    },
    "split_keywords": [
        "python",
        "video",
        "trakt",
        "imdb",
        "ratings",
        "sync",
        "movies",
        "tv shows"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "08facc446083333b3934c84e19bd01d6854c12dcf60cdcb459bae9c6b996ed4c",
                "md5": "c534e8aff90891de5d1d6ce6632cbb99",
                "sha256": "8b0c3410993edca5870a4e8a4d82f13d42ecd312ced244efa92f75a5fbe52d6a"
            },
            "downloads": -1,
            "filename": "IMDbTraktSyncer-1.1.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c534e8aff90891de5d1d6ce6632cbb99",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 13406,
            "upload_time": "2023-05-18T02:43:12",
            "upload_time_iso_8601": "2023-05-18T02:43:12.654034Z",
            "url": "https://files.pythonhosted.org/packages/08/fa/cc446083333b3934c84e19bd01d6854c12dcf60cdcb459bae9c6b996ed4c/IMDbTraktSyncer-1.1.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b7e2e9a3dc4cbbcd1380c3512827f1a71dd9e9cf9f097b6c3adb729885196bfa",
                "md5": "f64760d1b3d0d88ca1f45dc211cd8293",
                "sha256": "3d6abca9cde966a443481d441de4828baa957c96a3f5e170a406298f03b5b199"
            },
            "downloads": -1,
            "filename": "IMDbTraktSyncer-1.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "f64760d1b3d0d88ca1f45dc211cd8293",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 11388,
            "upload_time": "2023-05-18T02:43:14",
            "upload_time_iso_8601": "2023-05-18T02:43:14.732839Z",
            "url": "https://files.pythonhosted.org/packages/b7/e2/e9a3dc4cbbcd1380c3512827f1a71dd9e9cf9f097b6c3adb729885196bfa/IMDbTraktSyncer-1.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-18 02:43:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "RileyXX",
    "github_project": "IMDb-Trakt-Syncer",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "imdbtraktsyncer"
}
        
Elapsed time: 0.12211s