0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-27 03:03:01 +00:00

use platform=desktop in assets url(closes #13041)

This commit is contained in:
Remita Amine 2017-05-10 08:50:30 +01:00
parent a7ed6b341c
commit 39ee263819

View file

@ -126,7 +126,7 @@ def _real_extract(self, url):
video_id = video_data['id'] video_id = video_data['id']
info = self._extract_cvp_info( info = self._extract_cvp_info(
'http://www.adultswim.com/videos/api/v0/assets?id=' + video_id, 'http://www.adultswim.com/videos/api/v0/assets?platform=desktop&id=' + video_id,
video_id, { video_id, {
'secure': { 'secure': {
'media_src': 'http://androidhls-secure.cdn.turner.com/adultswim/big', 'media_src': 'http://androidhls-secure.cdn.turner.com/adultswim/big',