Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save nikhilkumarsingh/197dcb3e4bd81ef50dc28d565010ab18 to your computer and use it in GitHub Desktop.

Select an option

Save nikhilkumarsingh/197dcb3e4bd81ef50dc28d565010ab18 to your computer and use it in GitHub Desktop.
Video Stream Downloader
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mhdphp

mhdphp commented May 18, 2019

Copy link
Copy Markdown

excellent!

@PriyamVerma

Copy link
Copy Markdown

hey buddy your video is good enough, but i m not aware of python programming, i need some help
may u mak a program so that i just paste the url and just click on download button ???

@stmckeni

stmckeni commented Feb 9, 2020

Copy link
Copy Markdown

If you have linux, there are other software that does that. for free. everything is free (more or less) if you use linux. Have you tried python? what are you struggling with? python dynamics or programming in general? There are tons of tutorials, there is an app called sololearn that is free (with ads) that teach you so many programming languages as well as python. It helped me learn C and C++ and I go back just for refreshers every now and again. I think he is teaching and I got it. In fact this has helped me learn so much as well that I can easily do with php and C++ and such.

@suraj7007

Copy link
Copy Markdown

nikhil bhai I'm facing a minor problem in the above program. I'm beginner in python can you help......please

@suraj7007

Copy link
Copy Markdown

nikhil bhai I'm facing a minor problem in the above program. I'm beginner in python can you help......please
import requests
import m3u8
url = "https://vcdn.spayee.in/spees/w/o/5e356a710cf24531c92ac49f/v/5e63c83c0cf26922cfe928c8/u/5ef4a91e0cf25c6d8dcaad36/t/2d5b70bd0405c2c352c8b93b9180f3e5/p/assets/videos/5e356a710cf24531c92ac49f/2020/03/07/5e63c83c0cf26922cfe928c8/hls_350k_.m3u8"
r = requests.get(url)
m3u8_master = m3u8.loads(r.text)
m3u8_master.data['segments'][0]['uri']

i dont know where I'm going wrong

@Rome0001

Copy link
Copy Markdown

@ stmckeni ,Thanks for the recommendation

@ashishpaul99

Copy link
Copy Markdown

bro even after installing pip m3u8 but while i'm using code in jupyter notebook it showing "no module found".please help me.

@manish2538

Copy link
Copy Markdown

can be download video from mxplayer too?

@sbdipun

sbdipun commented Oct 3, 2021

Copy link
Copy Markdown

Can we download movies from OTT?

@PrashantSingh7

Copy link
Copy Markdown

nikhil bhai I'm facing a minor problem in the above program. I'm beginner in python can you help......please
import requests
import m3u8
url = "https://vcdn.spayee.in/spees/w/o/5e356a710cf24531c92ac49f/v/5e63c83c0cf26922cfe928c8/u/5ef4a91e0cf25c6d8dcaad36/t/2d5b70bd0405c2c352c8b93b9180f3e5/p/assets/videos/5e356a710cf24531c92ac49f/2020/03/07/5e63c83c0cf26922cfe928c8/hls_350k_.m3u8"
r = requests.get(url)
m3u8_master = m3u8.loads(r.text)
m3u8_master.data['segments'][0]['uri']

i dont know where I'm going wrong

Bro, Which video link is this ?

@featuriz

featuriz commented Apr 8, 2023

Copy link
Copy Markdown

Hey, If you do pip install. Check the result. It may install in local/bin directory and if its not in path you can't use those directly in command prompt. You have to either cd to that dir or add it to path.

Like old school days. Running Java :)

@chapmanjacobd

chapmanjacobd commented Sep 22, 2023

Copy link
Copy Markdown

You don't need to download in python. Just pass the headers directly to ffmpeg and it will work:

ffmpeg -headers 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0' -headers 'Referer: https://blah.com/' -i "https://ss216.livepie.com/stream/A/AA/tststst/master.m3u8" out.mp4 

@raghavshende

Copy link
Copy Markdown

Hello I am facing some issues and would be appreciated if you take some time to help me out of this . I had an url (
https://d1d34p8vz63oiq.cloudfront.net/1c582537-d008-4d1e-a395-ac24caae41de/dash/audio/248.mp4) This downloads the video from streaming platform but it does not play. What to do further kindly guide me

@cachemoney11

Copy link
Copy Markdown

What if there is nothing for playlists it's just []

@bekich97

bekich97 commented Apr 20, 2024

Copy link
Copy Markdown

why there is no sound in video?

@desho20

desho20 commented May 22, 2024

Copy link
Copy Markdown

How to download a video protected by vdocipher ?

@yonkidoodle

Copy link
Copy Markdown

Can you please make a download button for this? I have no idea how to code and have no idea what I am doing. I got python and whatnot but no one is explaining how to download and run this PLEASEEEEE

@bipinkrish

Copy link
Copy Markdown

Can you please make a download button for this? I have no idea how to code and have no idea what I am doing. I got python and whatnot but no one is explaining how to download and run this PLEASEEEEE

in browser search google collab, create a new notebook, copy the code, click run button

@sanjayM0AI

Copy link
Copy Markdown

it is very outdated, and not worked for platforms like streamyard and vimeo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment