Skip to content

Commit

Permalink
Issue #14
Browse files Browse the repository at this point in the history
  • Loading branch information
bolinzhang committed Oct 15, 2019
1 parent 1827afc commit 1fd926c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BiliUtil/Video/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def sync(self, cookie=None, quality=None):
self.quality = Util.Config.Quality.INDEX[json_data['data']['quality']]
if 'dash' in json_data['data']:
self.level = 'new_version'
video_obj = json_data['data']['dash']['video'][-1]
video_obj = json_data['data']['dash']['video'][0]
audio_obj = json_data['data']['dash']['audio'][0]
self.height = video_obj['height']
self.width = video_obj['width']
Expand Down

0 comments on commit 1fd926c

Please sign in to comment.