{"id":21827157,"url":"https://github.com/josh/imdb-data","last_synced_at":"2025-03-21T12:22:17.805Z","repository":{"id":247462255,"uuid":"825403330","full_name":"josh/imdb-data","owner":"josh","description":"IMDB personal lists and ratings data scaper","archived":false,"fork":false,"pushed_at":"2025-03-17T03:52:09.000Z","size":3874,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-17T04:33:50.540Z","etag":null,"topics":["csv","gh-pages","git-scraping","imdb","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/josh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-07T17:08:12.000Z","updated_at":"2025-03-17T03:52:13.000Z","dependencies_parsed_at":"2024-07-18T03:24:32.065Z","dependency_job_id":"fcb4cdfb-6cd4-40a5-8bf0-511e80a6fee0","html_url":"https://github.com/josh/imdb-data","commit_stats":null,"previous_names":["josh/imdb-data"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josh%2Fimdb-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josh%2Fimdb-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josh%2Fimdb-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josh%2Fimdb-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/josh","download_url":"https://codeload.github.com/josh/imdb-data/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244795519,"owners_count":20511521,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csv","gh-pages","git-scraping","imdb","python"],"created_at":"2024-11-27T18:12:22.498Z","updated_at":"2025-03-21T12:22:17.777Z","avatar_url":"https://github.com/josh.png","language":"Python","readme":"# imdb-data\n\nIMDB scraper to fetch **your** watchlist, lists and ratings.\n\n## Setup\n\nDesign to run via GitHub Actions. First, Fork this repository but only the `main` branch. Data is stored on `gh-pages` and probably don't want my personal data.\n\nThen set up GitHub Action Repository secrets for the following:\n\n- `IMDB_COOKIE`: The `Cookie` header value after you've logged in\n\nClick \"Watchlist\" and see the URL bar for `https://www.imdb.com/user/ur***/watchlist`, then Edit for `https://www.imdb.com/list/ls**/edit`\n\n- `IMDB_USER_ID`: The ID that starts with `ur`\n- `IMDB_WATCHLIST_ID`: The ID that starts with `ls`\n\n## CLI Usage\n\nNot officially published on Python Package Index (PyPI), but you can install it directly from GitHub:\n\n```\n$ pip install git+https://github.com/josh/imdb-data.git\n```\n\n```\n$ imdb-data\nUsage: imdb-data [OPTIONS] COMMAND [ARGS]...\n\nOptions:\n  -c, --cookie-file FILE  imdb.com Cookie Jar file  [required]\n  -v, --verbose           Enable verbose logging\n  --help                  Show this message and exit.\n\nCommands:\n  check-ratings\n  check-watchlist\n  download-export\n  dump-cookies\n  import-cookies\n  watchlist-quicksync\n```\n\n## Lib Usage\n\n**requirements.txt**\n\n```\nimdb-data @ git+https://github.com/josh/imdb-data@main\n```\n\n```python\nimport imdb_data\nimport requests\n\njar: requests.cookies.RequestsCookieJar = pickle.load(open(\"cookies.pickle\", \"rb\"))\ncsvtext = get_export_text(jar, \"watchlist\")\nprint(csvtext)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosh%2Fimdb-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosh%2Fimdb-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosh%2Fimdb-data/lists"}