{"id":17187534,"url":"https://github.com/weshatheleopard/rutube-downloader-ruby","last_synced_at":"2025-04-13T19:08:12.294Z","repository":{"id":151868332,"uuid":"531320394","full_name":"weshatheleopard/rutube-downloader-ruby","owner":"weshatheleopard","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-08T06:04:27.000Z","size":141,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T09:46:10.206Z","etag":null,"topics":["ruby","video-downloader"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weshatheleopard.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-01T01:33:04.000Z","updated_at":"2025-03-08T06:04:31.000Z","dependencies_parsed_at":"2023-09-22T14:17:45.798Z","dependency_job_id":"c8d5eb68-bbc2-43dc-8b71-2783161196b6","html_url":"https://github.com/weshatheleopard/rutube-downloader-ruby","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/weshatheleopard%2Frutube-downloader-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weshatheleopard%2Frutube-downloader-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weshatheleopard%2Frutube-downloader-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weshatheleopard%2Frutube-downloader-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weshatheleopard","download_url":"https://codeload.github.com/weshatheleopard/rutube-downloader-ruby/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248766734,"owners_count":21158301,"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":["ruby","video-downloader"],"created_at":"2024-10-15T01:06:37.028Z","updated_at":"2025-04-13T19:08:12.260Z","avatar_url":"https://github.com/weshatheleopard.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rutube-downloader-ruby\n[![alt text](https://circleci.com/gh/weshatheleopard/rutube-downloader-ruby.svg?style=svg)](https://circleci.com/gh/weshatheleopard/rutube-downloader-ruby)\n\nDownload video files from the sites that generally don't want you to download videos from.\n\nCurrently supported:\n  * [Dzen](https://dzen.ru/) [NEW only]\n  * [Fox News](https://www.foxnews.com) [OLD only]\n  * [Twitch](https://www.twitch.tv/)\n  * [1TV](https://www.1tv.ru) [NEW only]\n  * [Platforma](https://plvideo.ru) [NEW only]\n  * [Rambler News](https://news.rambler.ru/video/)\n  * [RuTube](https://rutube.ru/)\n  * [Smotrim](https://smotrim.ru/)\n  * [TV Zvezda](https://tvzvezda.ru/)\n  \nOthers can be added too through respective subclasses\n  \n## How to use:\nMost downloaders have been moved to support both video file URL and main video page URL, which makes downloading more user-friendly. Old method still works.\n\n### NEW mehod\n\n#### Option 1 (shell):\n1. In the system shell, execute `dl` script with the URL of the webpage where the video is located (`./dl http://video.site/breaking-news-654321`)\n\n#### Option 2 (Ruby console):\n1. Launch the console of this project (`rake console`)\n2. Launch the code with the URL of the webpage where video is located (`dl 'http://video.site/breaking-news-654321'`)\n\n### OLD method (still works!)\n\n1. Start watching the desired video\n2. Using Firefox's Developer Tools (invoked by F12), in the Network tab, set filter to \"Media\". Watch the .ts files being downloaded.\n3. Copy the URL of any of such file\n\n#### Option 1 (shell):\n4. In the system shell, execute `dl` script with the URL obtained at the step above (`./dl http://......long_video_file_url......`)\n\n#### Option 2 (Ruby console):\n4. Launch the console of this project (`rake console`)\n5. Launch the code with the URL obtained at the step above (`dl 'http://......long_video_file_url........'`)\n\nThe code will automatically detect the total number of segments in the video and download them all. It will also create the Windows BAT file for `ffmpeg` to join all these segments into a single video file.\n\n#### Named parameters (console only):\n  * `start` - start downloading with this segment number\n  * `endno` - finish downloading with this segment number (otherwise perform automatic detection)\n\n## File assembly\n\nResult file can now be assembled from chunks on the system doing the downloading. In that case, `ffmpeg` has to be installed on that system:\n\n  `sudo apt-get install ffmpeg`\n\nIn that case, only the final file will be uploaded. This is controlled by the `combine:` named parameter of the call to `dl` in console.\n\nTemporary files are now stored in `/tmp` and deleted upon successful uploading.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweshatheleopard%2Frutube-downloader-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweshatheleopard%2Frutube-downloader-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweshatheleopard%2Frutube-downloader-ruby/lists"}