{"id":15355475,"url":"https://github.com/ittus/python-video-ids","last_synced_at":"2026-02-04T14:38:54.200Z","repository":{"id":48611387,"uuid":"73607543","full_name":"ittus/python-video-ids","owner":"ittus","description":"An utility to get video id from url","archived":false,"fork":false,"pushed_at":"2021-07-18T05:50:12.000Z","size":4,"stargazers_count":2,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T17:05:39.683Z","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/ittus.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}},"created_at":"2016-11-13T09:57:06.000Z","updated_at":"2021-09-03T12:08:48.000Z","dependencies_parsed_at":"2022-09-16T00:51:32.207Z","dependency_job_id":null,"html_url":"https://github.com/ittus/python-video-ids","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/ittus%2Fpython-video-ids","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ittus%2Fpython-video-ids/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ittus%2Fpython-video-ids/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ittus%2Fpython-video-ids/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ittus","download_url":"https://codeload.github.com/ittus/python-video-ids/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249020068,"owners_count":21199482,"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-01T12:24:30.947Z","updated_at":"2026-02-04T14:38:54.167Z","avatar_url":"https://github.com/ittus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Get video id from url\n\nA python utility to get video_id from url\n\nIt supports Youtube, Dailymotion and Vimeo at the moment.\n\n# How to use\n```\n\u003e\u003e\u003e from videos_id.video_info import VideoInfo\n\u003e\u003e\u003e video_info = VideoInfo()\n\u003e\u003e\u003e video_info.check_video_id('https://www.youtube.com/watch?v=FvqgvWx_l8g')\n'FvqgvWx_l8g'\n\u003e\u003e\u003e video_info.platform\n'Youtube'\n\u003e\u003e\u003e video_info.video_id\n'FvqgvWx_l8g'\n\u003e\u003e\u003e video_info.check_video_id('http://www.dailymotion.com/video/x51sxcf_tum-bin-2-full-movie_tv')\n'x51sxcf'\n\u003e\u003e\u003e video_info.platform\n'Dailymotion'\n\u003e\u003e\u003e video_info.video_id\n'x51sxcf'\n\u003e\u003e\u003e video_info.check_video_id('https://vimeo.com/190614417')\n'190614417'\n\u003e\u003e\u003e video_info.platform\n'Vimeo'\n\u003e\u003e\u003e video_info.video_id\n'190614417'\n\u003e\u003e\u003e\n\n```\n\n# Pattern\n\n## Youtube\n\n```\nhttps://www.youtube.com/embed/[video-id]'\nhttps://youtu.be/[video-id]'\nhttps://www.youtube.com/watch?v=[video-id]'\n```\n\n## Dailymotion\n\n```\nhttp://www.dailymotion.com/video/[video-id]\nhttp://www.dailymotion.com/video/[video-id]_[seo-string]\nhttp://dai.ly/[video-id]\n```\n\n## Vimeo\n\n```\nhttp://vimeo.com/[video-id]\nhttp://player.vimeo.com/video/[video-id]\nhttp://vimeo.com/channels/staffpicks/[video-id]\nhttps://vimeo.com/groups/name/videos/[video-id]\nhttps://vimeo.com/album/[album-id]/video/[video-id]\n```\n\n# Testing\n\nUnit test\n```\npython -m unittest discover\n```\n\n```\n...........\n----------------------------------------------------------------------\nRan 11 tests in 0.003s\n\nOK\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fittus%2Fpython-video-ids","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fittus%2Fpython-video-ids","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fittus%2Fpython-video-ids/lists"}