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.
- 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
)
- Launch the console of this project (
rake console
) - Launch the code with the URL of the webpage where video is located (
dl 'http://video.site/breaking-news-654321'
)
- Start watching the desired video
- Using Firefox's Developer Tools (invoked by F12), in the Network tab, set filter to "Media". Watch the .ts files being downloaded.
- Copy the URL of any of such file
- In the system shell, execute
dl
script with the URL obtained at the step above (./dl http://......long_video_file_url......
)
- Launch the console of this project (
rake console
) - Launch the code with the URL obtained at the step above (
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.