[hitbox] Clarify download messages
authorSergey M․ <dstftw@gmail.com>
Wed, 22 Apr 2015 15:09:21 +0000 (21:09 +0600)
committerSergey M․ <dstftw@gmail.com>
Wed, 22 Apr 2015 15:09:21 +0000 (21:09 +0600)
youtube_dl/extractor/hitbox.py

index 2c440898e1fa1468032d28b2165f8087d53b28be..421f55bbeaed2c1249833e5136ff479557c1bccc 100644 (file)
@@ -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']: