File | Date | Author | Commit |
---|---|---|---|
.circleci | 2023-10-22 | weshatheleopard | [105c3f] Set up tests |
.github | 2024-05-06 | weshatheleopard | [0c916f] Attempt to configure Github Actions for test |
lib | 2024-09-15 | weshatheleopard | [cbb07c] Display intermittent errors when downloading; e... |
spec | 2024-05-06 | weshatheleopard | [bff617] Fix Rubocop complaints |
.gitignore | 2022-09-01 | weshatheleopard | [aad20b] Read configuration from the config file |
.rubocop.yml | 2024-05-06 | weshatheleopard | [bff617] Fix Rubocop complaints |
Gemfile | 2024-07-30 | weshatheleopard | [9eb27d] Updated Mechanize with version that supports Br... |
Gemfile.lock | 2024-08-20 | weshatheleopard | [5c3d51] Update gems |
LICENSE | 2022-09-01 | weshatheleopard | [668325] Initial commit |
README.md | 2024-07-01 | weshatheleopard | [43964e] Added Platforma video hosting |
Rakefile | 2024-05-06 | weshatheleopard | [22937b] Some cleanup |
config.yml.sample | 2023-11-26 | weshatheleopard | [8e7dae] Moved temp dir location to TEMPDIR config setti... |
dl | 2024-05-06 | weshatheleopard | [22937b] Some cleanup |
Download video files from the sites that generally don't want you to download videos from.
Currently supported:
* Dzen [NEW only]
* Fox News [OLD only]
* Twitch
* 1TV [NEW only]
* Platforma [NEW only]
* Rambler News
* RuTube
* Smotrim
* TV Zvezda
Others can be added too through respective subclasses
Most 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.
dl
script with the URL of the webpage where the video is located (./dl http://video.site/breaking-news-654321
)rake console
)dl 'http://video.site/breaking-news-654321'
)dl
script with the URL obtained at the step above (./dl http://......long_video_file_url......
)rake console
)dl 'http://......long_video_file_url........'
)The 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.
start
- start downloading with this segment numberendno
- finish downloading with this segment number (otherwise perform automatic detection)Result file can now be assembled from chunks on the system doing the downloading. In that case, ffmpeg
has to be installed on that system:
sudo apt-get install ffmpeg
In that case, only the final file will be uploaded. This is controlled by the combine:
named parameter of the call to dl
in console.
Temporary files are now stored in /tmp
and deleted upon successful uploading.