Skip to content

Commit

Permalink
use GetUrlFromStream
Browse files Browse the repository at this point in the history
  • Loading branch information
vmirage authored and kolsys committed Jan 5, 2020
1 parent 17d7c63 commit 1b4b39f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Contents/Services/Shared Code/video.pys
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def GetVideoUrls(url):
for item in streaming_data['formats']:
itag = item['itag']
if itag in RESOLUTIONS or itag in AUDIO:
ret[itag] = item['url']
ret[itag] = GetUrlFromStream(item, player_url)

if not len(ret):
raise Ex.MediaNotAvailable
Expand Down

0 comments on commit 1b4b39f

Please sign in to comment.