- Raw videos e.g example.com/video.mp4
- Segmented videos (hls)
- Specific live videos (from facebook and Instagram)
- Specific Dash xml videos
-
simple json should include url,headers & type e.g
{ "url":"example.com/video.mp4", "headers": {"referer":"example.com"}, } -
Since creating this json could be tedious, a simple svd browser extension is provided here
This package depends on ffmpeg and xsel (for pasting from clipboard)
- Clone the necessary repos and install svg package
git clone https://github.com/fskamau/svd.git svd
git clone https://github.com/fskamau/svd-extension.git svd-extension
cd svd
pip install .- Load svd extension in a browser
- Open a browser and navigate to about:debugging.
- Then select 'This Firefox', then 'Load Temporary Add-on...'
- A file dialog will appear, navigate to svd-extension folder and load click ok.
- Please note that the extension will have to be reloaded everytime the browser is started
- Use it!
- Navigate to desired site of your choice and wait for a video to load.
- Click on the extension and copy the url.
- Run svd and simply download the video.
svd