Skip to content

Instantly share code, notes, and snippets.

@piotron
piotron / m3u8_download.md
Created September 1, 2018 09:09
How to easily download m3u8 and ts video movie streams with Docker

Docker Downloading

Download it from Docker (Isn't it obvious?)

Locate m3u8 file url

You want to downlad something right?

Run below snipper

docker run -v $PWD:/tmp/workdir --rm  jrottenberg/ffmpeg -user_agent "<UserAgent string>" -i <M3U8_URI> -c copy <FILENAME>.mkv

Keybase proof

I hereby claim:

  • I am piotron on github.
  • I am piotron (https://keybase.io/piotron) on keybase.
  • I have a public key whose fingerprint is EAC5 BB29 5F23 4966 BC3A 356D 02C8 EADC 350B 4B36

To claim this, I am signing this object:

@piotron
piotron / MT-DHCPtoDNS
Created February 12, 2017 22:56
Mikrotik script which converts DHCP leases to DNS entries in .local domain, so they work on Mac OS X
# DNS record for DHCP lease
# Prepare variables in use
:local topdomain;
:local hostname;
:local hostip;
# Configure your domain
:set topdomain "local";
/ip dhcp-server lease;