Skip to content

Instantly share code, notes, and snippets.

@mohitt
Last active August 13, 2016 23:04
Show Gist options
  • Save mohitt/1b8b1d048a2911da28b0fa74554c5377 to your computer and use it in GitHub Desktop.
Save mohitt/1b8b1d048a2911da28b0fa74554c5377 to your computer and use it in GitHub Desktop.
# download a movie from einthusan
# you need to have ffmpeg installed
# you can get the url, by inspecting the xhr in chrome dev tools
# on windows use portable version
.\ffmpeg.exe -user-agent "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" -i "http://75.126.5.180/einthusancom/hot/D2981.mp4.m3u8?e=1470131671&md5=h0TLi6IIq8tNhWgDrNOSJA" -c -bsf:a aac_adtstoasc BaaghiHindi.mp4
# on ubuntu
ffmpeg -user-agent "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36" -i "http://75.126.73.16/einthusancom/hot/D9005.mp4.m3u8?e=1471147397&md5=oMxkF0ZbR7lZPNjaaaOm3A" -strict -2 RaghRaghav.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment