{"id":20852660,"url":"https://github.com/epic-r-r/opensubtitle","last_synced_at":"2026-04-12T08:34:10.122Z","repository":{"id":133847787,"uuid":"524910766","full_name":"Epic-R-R/Opensubtitle","owner":"Epic-R-R","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-15T09:14:49.000Z","size":22,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-25T19:55:14.511Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Epic-R-R.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":"2022-08-15T08:32:27.000Z","updated_at":"2023-03-08T01:04:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"48dddd76-5efe-4203-b13d-93647e859747","html_url":"https://github.com/Epic-R-R/Opensubtitle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Epic-R-R/Opensubtitle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Epic-R-R%2FOpensubtitle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Epic-R-R%2FOpensubtitle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Epic-R-R%2FOpensubtitle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Epic-R-R%2FOpensubtitle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Epic-R-R","download_url":"https://codeload.github.com/Epic-R-R/Opensubtitle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Epic-R-R%2FOpensubtitle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31709293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11-18T03:18:28.105Z","updated_at":"2026-04-12T08:34:10.085Z","avatar_url":"https://github.com/Epic-R-R.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![opensubtitle-img](https://raw.githubusercontent.com/Epic-R-R/Opensubtitle/master/img/Opensubtitles-770x410.jpg)\n\n# Opensubtitle API\nA simple API for download subtitle from opensubtitle for movies and series\n**API is currently in BETA**\n# API\n\n\nChange credentials.json file:\n```json\n{\n    \"username\": \"YOURUSER\",\n    \"password\": \"YOURPASS\",\n    \"api-key\": \"YOURAPIKEY\"\n}\n```\n```python\nfrom openSubtitle import OpenSubtitles\nop = OpenSubtitles()\nop.login()\nfile_info = os.search_for_subtitle(\"MOVIE FILE PATH\", \"en\", True)\nop.download_subtitle(file_info['file_no'])\n```\n\n### Search for a subtitle:\n```python\nsearch_for_subtitle(full_file_path, sublanguage, forced)\n```\n\u003e full_file_path = **required**,\n\u003e sublanguage = **required**,\n\u003e forced = **optional** (default=False)\n\nReturns dictionary:\n```dict\n{\n    file_no : file_no,\n    file_name: file_name\n}\n```\n### Download subtitle:\n```python\ndownload_subtitle(file_no, output_directory, output_filename, overwrite)\n```\n\u003e file_no = **required**,\n\u003e output_directory = **optional**\n\u003e output_filename = **optional**\n\u003e overwrite = **optional** (default=False)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepic-r-r%2Fopensubtitle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepic-r-r%2Fopensubtitle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepic-r-r%2Fopensubtitle/lists"}