{"id":17429787,"url":"https://github.com/marph91/imdb-extended-search","last_synced_at":"2025-03-28T00:31:56.039Z","repository":{"id":105039979,"uuid":"164334043","full_name":"marph91/imdb-extended-search","owner":"marph91","description":"Extended search for IMDB","archived":false,"fork":false,"pushed_at":"2019-01-06T20:18:50.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T02:27:42.075Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marph91.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-01-06T18:28:45.000Z","updated_at":"2020-05-03T18:25:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b4f07df-7f96-4839-81d0-362a63edebb7","html_url":"https://github.com/marph91/imdb-extended-search","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marph91%2Fimdb-extended-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marph91%2Fimdb-extended-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marph91%2Fimdb-extended-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marph91%2Fimdb-extended-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marph91","download_url":"https://codeload.github.com/marph91/imdb-extended-search/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245949077,"owners_count":20698908,"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":[],"created_at":"2024-10-17T07:09:13.942Z","updated_at":"2025-03-28T00:31:55.985Z","avatar_url":"https://github.com/marph91.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Extended search for IMDB\n\nThis is a python script for extending the IMDB advanced title search by:\n\n  - ordering and filtering by metascore\n  - random choice of movies\n\n## General Notes\n  - Doesn't require any IMDB/OMDB/TMDB account. The movies get parsed directly from the HTML data.\n  - Tested with Python 2.7 and 3.6 under Opensuse 15.\n\n## Usage\n\nThere are two options to use this script:\n\n  1. Issue a search on the site \u003chttps://www.imdb.com/search/title\u003e. Then copy the url of the resulting page. Alternatively the base url can be extended by the query string directly. Finally insert the url string as optional argument (`--url`).\n  2. Create a json file with parameters and insert it as optional argument (`--json`). The parameters get sent to \u003chttps://www.imdb.com/search/title\u003e with a get request.\n\nThe options `--url` and `--json` are mutually exclusive, i. e. exactly one of them has to be given. Further arguments can be used to filter movies out of the original list. Result is a list of tuples, containing name, metascore and link to IMDB of each movie.\n\n### Examples\n\n  - Get 10 random movies via query string:\n```bash\npython3 imdb_ext_search.py --url \"https://www.imdb.com/search/title?title_type=feature\u0026count=250\" --random 10\n```\n\n  - Get 10 random movies via JSON parameters:\n```bash\npython3 imdb_ext_search.py --json \"example_params.json\" --random 10\n```\n\n  - Only show movies with metascore equal or higher than 80 and order the movies descending by metascore:\n```bash\npython3 imdb_ext_search.py --url \"https://www.imdb.com/search/title?title_type=feature\u0026count=250\" --metascore 80 100 --sort desc\n```\n\n  - Save the movie list as csv file:\n```bash\npython3 imdb_ext_search.py --url \"https://www.imdb.com/search/title?title_type=feature\u0026count=250\" --csv my_movies.csv\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarph91%2Fimdb-extended-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarph91%2Fimdb-extended-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarph91%2Fimdb-extended-search/lists"}