aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/hitbox.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-04-22 21:09:21 +0600
committerSergey M․ <dstftw@gmail.com>2015-04-22 21:09:21 +0600
commit33b066bda0491bca54cc09d7d117867f885aa5f4 (patch)
treec11a3d50d72a53f04c521e79566f3d922bea880f /youtube_dl/extractor/hitbox.py
parent14f41bc2fb01266243e763ddc80840b895acd294 (diff)
downloadyoutube-dl-33b066bda0491bca54cc09d7d117867f885aa5f4.zip
youtube-dl-33b066bda0491bca54cc09d7d117867f885aa5f4.tar.gz
youtube-dl-33b066bda0491bca54cc09d7d117867f885aa5f4.tar.bz2
[hitbox] Clarify download messages
Diffstat (limited to 'youtube_dl/extractor/hitbox.py')
-rw-r--r--youtube_dl/extractor/hitbox.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dl/extractor/hitbox.py b/youtube_dl/extractor/hitbox.py
index 2c44089..421f55b 100644
--- a/youtube_dl/extractor/hitbox.py
+++ b/youtube_dl/extractor/hitbox.py
@@ -43,7 +43,8 @@ class HitboxIE(InfoExtractor):
def _extract_metadata(self, url, video_id):
thumb_base = 'https://edge.sf.hitbox.tv'
metadata = self._download_json(
- '%s/%s' % (url, video_id), video_id)
+ '%s/%s' % (url, video_id), video_id,
+ 'Downloading metadata JSON')
date = 'media_live_since'
media_type = 'livestream'
@@ -90,7 +91,7 @@ class HitboxIE(InfoExtractor):
player_config = self._download_json(
'https://www.hitbox.tv/api/player/config/video/%s' % video_id,
- video_id)
+ video_id, 'Downloading video JSON')
formats = []
for video in player_config['clip']['bitrates']: