{"id":17617386,"url":"https://github.com/deflix-tv/imdb2torrent","last_synced_at":"2025-07-11T14:13:52.746Z","repository":{"id":57562299,"uuid":"327117023","full_name":"Deflix-tv/imdb2torrent","owner":"Deflix-tv","description":"Go library for finding torrents for movies and TV shows by IMDb ID on YTS, The Pirate Bay, 1337x, RARBG and ibit","archived":false,"fork":false,"pushed_at":"2021-04-25T14:38:39.000Z","size":88,"stargazers_count":16,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-30T18:11:50.791Z","etag":null,"topics":["deflix","go","golang","imdb","magnet","magnet-link","movies","torrent","torrents","tv-shows"],"latest_commit_sha":null,"homepage":"https://www.deflix.tv","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Deflix-tv.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}},"created_at":"2021-01-05T20:54:07.000Z","updated_at":"2025-02-12T08:30:19.000Z","dependencies_parsed_at":"2022-09-16T20:00:59.851Z","dependency_job_id":null,"html_url":"https://github.com/Deflix-tv/imdb2torrent","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deflix-tv%2Fimdb2torrent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deflix-tv%2Fimdb2torrent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deflix-tv%2Fimdb2torrent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deflix-tv%2Fimdb2torrent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Deflix-tv","download_url":"https://codeload.github.com/Deflix-tv/imdb2torrent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Deflix-tv%2Fimdb2torrent/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259124212,"owners_count":22808892,"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":["deflix","go","golang","imdb","magnet","magnet-link","movies","torrent","torrents","tv-shows"],"created_at":"2024-10-22T19:13:23.973Z","updated_at":"2025-06-10T18:32:28.748Z","avatar_url":"https://github.com/Deflix-tv.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imdb2torrent\n\nGo library for finding torrents for movies and TV shows by IMDb ID on YTS, The Pirate Bay, 1337x, RARBG and ibit\n\n## Usage\n\nYou can either use a site-specific client:\n\n```go\npackage main\n\nimport (\n    \"context\"\n    \"fmt\"\n\n    \"github.com/deflix-tv/imdb2torrent\"\n    \"go.uber.org/zap\"\n)\n\nfunc main() {\n    // Create new client\n    yts := imdb2torrent.NewYTSclient(imdb2torrent.DefaultYTSclientOpts, imdb2torrent.NewInMemoryCache(), zap.NewNop(), false)\n\n    // Fetch torrents for a movie\n    // Here we use the IMDb ID of \"Night of the Living Dead\" from 1968, which is in the public domain\n    torrents, err := yts.FindMovie(context.Background(), \"tt0063350\")\n    if err != nil {\n        panic(err)\n    }\n\n    // Iterate through results and print their magnet URLs\n    for _, torrent := range torrents {\n        fmt.Printf(\"Found torrent: %v\\n\", torrent.MagnetURL)\n    }\n}\n```\n\nOr use the `imdb2torrent.Client`, which uses multiple site-specific clients _concurrently_.\n\nFor more detailed examples see [examples](examples).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeflix-tv%2Fimdb2torrent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeflix-tv%2Fimdb2torrent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeflix-tv%2Fimdb2torrent/lists"}