{"id":21233663,"url":"https://github.com/bdr-pro/youtubetowallpaper","last_synced_at":"2026-05-22T05:19:58.874Z","repository":{"id":228685622,"uuid":"772790818","full_name":"BDR-Pro/YouTubetoWallpaper","owner":"BDR-Pro","description":"🚀✨ Meet `yt_to_shots.py`, your go-to script for snagging 🔥 frames from YouTube vids \u0026 turning your PC into a cosmic wonderland! 🌌 Download vids, extract cool shots 📸, ditch the repeats 🔄, \u0026 even say bye to the vid after grabbing its goodies. Perfect for those spacey wallpapers or project vibes. Supports Arabic titles too! 🌍➡️🌌 Dive in \u0026 let","archived":false,"fork":false,"pushed_at":"2024-03-28T14:10:57.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T18:37:15.995Z","etag":null,"topics":["frame-extraction","image-processing","video-processing","wallpaper-generator","youtube","youtube-dl"],"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/BDR-Pro.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":"2024-03-15T22:56:14.000Z","updated_at":"2024-12-30T22:29:21.000Z","dependencies_parsed_at":"2024-03-20T01:25:11.294Z","dependency_job_id":"6ff4d4b5-dd4c-4e37-b348-5b107982ea7a","html_url":"https://github.com/BDR-Pro/YouTubetoWallpaper","commit_stats":null,"previous_names":["bdr-pro/youtubetowallpaper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2FYouTubetoWallpaper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2FYouTubetoWallpaper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2FYouTubetoWallpaper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2FYouTubetoWallpaper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BDR-Pro","download_url":"https://codeload.github.com/BDR-Pro/YouTubetoWallpaper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243676707,"owners_count":20329432,"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":["frame-extraction","image-processing","video-processing","wallpaper-generator","youtube","youtube-dl"],"created_at":"2024-11-20T23:59:51.078Z","updated_at":"2026-05-22T05:19:58.843Z","avatar_url":"https://github.com/BDR-Pro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🌟 YT to Shots: Snag Your Space! 🚀\r\n\r\n## What's This Magic? ✨\r\n\r\nHey there, space cadet! 🌌 Welcome to `yt_to_shots.py`, your new best buddy for grabbing breathtaking space visuals straight from YouTube and turning your PC into a cosmic wonder. This Python script is all about downloading those stellar YouTube videos, extracting frames like a pro photographer, ditching the deja-vu frames, and if you wish, saying \"bye-bye\" to the video after snagging its best shots. Whether it's for creating an out-of-this-world wallpaper collection or fueling your galactic projects, we've got you covered!\r\n\r\n## Features That Are Outta This World! 🌠\r\n\r\n- **Download YouTube Videos** with just a URL or VideoID. 📥\r\n- **Extract Frames** like you're jumping through space-time! Set your own intervals to capture the cosmos. 📸\r\n- **Remove Similar Frames** because who needs duplicates in a universe of infinite variety? 🔄\r\n- **Optional Video Deletion** because, after the magic, who needs the spellbook? 🚮\r\n- **Arabic Title Support** 'cause we love and respect the universal language of stars, including Arabic. 🌍➡🌌\r\n\r\n## Before You Launch 🚀\r\n\r\nMake sure your spaceship is equipped with the following:\r\n\r\n- Python 3.6 or newer (the language of our space guild) 🐍\r\n- [pytube](https://pytube.io/en/latest/user/install.html) for those YouTube voyages 🎥\r\n- [OpenCV](https://opencv.org/) for our image deciphering tools 🔍\r\n- [tqdm](https://tqdm.github.io/) for watching the stars go by as we work 📊\r\n- [scikit-image](https://scikit-image.org/) for spotting cosmic twins 🌒🌓\r\n- [langdetect](https://pypi.org/project/langdetect/), because the universe speaks in mysterious ways 🗣️\r\n- [arabic-reshaper](https://pypi.org/project/arabic-reshaper/) \u0026 [python-bidi](https://pypi.org/project/python-bidi/) for when the stars align in Arabic ✨\r\n\r\nHop on the terminal and run:\r\n\r\n```sh\r\npip install yt-dlp pytube opencv tqdm scikit-image langdetect arabic-reshaper python-bidi\r\n```\r\n\r\n## Let's Get This Party Started! 🎉\r\n\r\nReady to grab those cosmic visuals? Here's how:\r\n\r\n```sh\r\npython yt_to_shots.py -u \u003cURL/VideoID\u003e [options]\r\n```\r\n\r\n### Cosmic Commands 🌙\r\n\r\n- `-u`, `--url` : The YouTube video URL or VideoID. Where your journey begins! 🚀\r\n- `-o`, `--output`: Where to store your interstellar captures. Defaults to your current starbase (folder). 📁\r\n- `-f`, `--frame`: How many frames to skip in your cosmic leap. More skips = faster travel! 🛸\r\n- `-m`, `--max`: Your cargo limit. How many frames to keep before you say \"that's enough beauty for today\". 📦\r\n- `-d`, `--delete`: Wanna erase the traces of your journey? Toggle this on! 🧹\r\n- `-s`, `--similar`: Set your tolerance for cosmic similarities. Sometimes, one moon is just enough! 🌖\r\n- `-t`, `--txt`: Enter the path of the text file containing the list of URLs or VideoIDs. 📄\r\n- `-q`, `--fetch`:  Enter the search query to fetch videos from YouTube\r\n- `-mr`,`--maxResults`: Enter the maxResults of the search query. Default is 50.\r\n- `-l`, `--login`: Login to YouTube using API KEY usage python bulk_fetcher.py -l YOUR_KEY\r\n\r\n### Example Commands\r\n\r\n```sh\r\npython yt_to_shots.py -u \"https://www.youtube.com/watch?v=CfjNMLgax2s\" -o \"GalaxyPics\" -f 100 -m 500 -d \r\npython yt_to_shots.py -u \"ImTqvWxc2Fo\" --delete \r\npython yt_to_shots.py -u \"uD4izuDMUQA\" -f 20 -m 500 -d \r\n\r\n```\r\n\r\n## It's a Wrap! 🌈\r\n\r\nThere you have it, space ranger! Everything you need to fill your digital universe with wonders. Let `yt_to_shots.py` be your telescope to the cosmos, and who knows what breathtaking views you'll discover for your PC's backdrop? 🌠\r\n\r\n**Happy Exploring!** 🌟\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdr-pro%2Fyoutubetowallpaper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbdr-pro%2Fyoutubetowallpaper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdr-pro%2Fyoutubetowallpaper/lists"}