youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 1e10d02fec559618f877e6694b6eeec53d59a65a
parent 51290d8457aa8460382407796740063ced464481
Author: Sergey M․ <dstftw@gmail.com>
Date:   Thu, 21 Jan 2016 23:28:22 +0600

[hitbox] Skip subscribe only formats (Closes #8217)

Diffstat:
Myoutube_dl/extractor/hitbox.py | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/youtube_dl/extractor/hitbox.py b/youtube_dl/extractor/hitbox.py @@ -159,6 +159,9 @@ class HitboxLiveIE(HitboxIE): cdns = player_config.get('cdns') servers = [] for cdn in cdns: + # Subscribe URLs are not playable + if cdn.get('rtmpSubscribe') is True: + continue base_url = cdn.get('netConnectionUrl') host = re.search('.+\.([^\.]+\.[^\./]+)/.+', base_url).group(1) if base_url not in servers: