Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Support request for antenna.gr #15961
Comments
|
ANT1 Live:
NB: geo-fencing to non-Greek IPs might apply... |
|
It applies always not might, true It changes, about a month (?) ago it was |
|
@Vangelis66 |
|
@Hackerpcs asked:
Sample full episode URL: https://www.antenna.gr/watch/1238525/nomads-madagaskari-epeisodio-20 They are employing the bitmovin HTML5 embedded player, HLS streams with NO DRM enabled, which means the site is a good candidate for a yt-dl implementation
and an incantation like the following succeeds:
I did not have to use a I fired up my UK VPN and yes, I couldn't get the video to start on the sample page; further investigation reveals that their playlist API URI (which is geo-sensitive) is of the format: {
title: "",
url: "https://antglvod-vh.akamaihd.net/i/,noGR,.mp4.csmil/master.m3u8",
thumb: "https://ant1media.azureedge.net/imgHandler/1000/",
Show: "",
preRoll: "",
MidRoll1: "",
MidRoll2: "",
MidRoll3: "",
postRoll: ""
}which returns a BOGUS (Invalid URL) HLS playlist Thankfully, the playlist API can be tricked with a {
title: "NOMADS – ΜΑΔΑΓΑΣΚΑΡΗ – ΕΠΕΙΣΟΔΙΟ 20",
url: "https://antennavodsp-vh.akamaihd.net/i/VODS2/,97941f3b-dd9f-4f17-9596-e17a2d4e0806,.mp4.csmil/master.m3u8?hdnts=st=1542139140~exp=1542142740~acl=/*~hmac=7b3cd151610ba8cf6da1a7593cdc50b55cae221cad7a2878c9953a9ff9b1dfef",
thumb: "https://ant1media.azureedge.net/imgHandler/1000/e65484f0-a3e0-4014-9828-53c8ff3f3fc8.jpg",
Show: "NOMADS - ΜΑΔΑΓΑΣΚΑΡΗ - ΕΠΕΙΣΟΔΙΑ",
preRoll: "4647",
MidRoll1: "4648",
MidRoll2: "4649",
MidRoll3: "0",
postRoll: "0"
}... even though I was on a UK IP; the VALID master HLS playlist is thus:
What is even more important is the fact that, at the time of writing, the stream host @remitamine , @dstftw, @yan12125, would one of you consider creating an You can use something like
and then you can parse the downloaded file via your preferred method to grab the .m3u8 from within... |
|
Thanks for the write up! I'm not an expat (yet :P), I just hate most of web video players and play everything through mpv. Problem was that I use Video DownloadHelper to grab URLs for ease and it was grabbing The funny thing with Ant1 is that they live stream in 1080 (low bitrate and buggy but it's 1080) and they upload everything in 360 or 480 in their web tv and YouTube channel |
For discovering HLS (master) playlists, there exists a more specialised browser extension: HLS Stream Detector This addon has never betrayed me; problem is that often times the tokens on found manifests expire too soon (< 5 sec) for them to be manually fed to yt-dl; and, of course, on several occasions you have to provide additional request headers for the download to start... |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.03.20.Before submitting an issue make sure you have:
What is the purpose of your issue?
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output:
If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
Web TV site of Greek TV station Antenna