projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
14f41bc
)
[hitbox] Clarify download messages
author
Sergey M․
<dstftw@gmail.com>
Wed, 22 Apr 2015 15:09:21 +0000
(21:09 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 22 Apr 2015 15:09:21 +0000
(21:09 +0600)
youtube_dl/extractor/hitbox.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/hitbox.py
b/youtube_dl/extractor/hitbox.py
index 2c440898e1fa1468032d28b2165f8087d53b28be..421f55bbeaed2c1249833e5136ff479557c1bccc 100644
(file)
--- 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(
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'
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,
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']:
formats = []
for video in player_config['clip']['bitrates']: