mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-13 14:37:43 +01:00
[pluralsight] Update ViewClip URL
This commit is contained in:
parent
71bd93b89c
commit
651acffbe5
@ -138,7 +138,7 @@ def _real_extract(self, url):
|
|||||||
'q': '%dx%d' % (f['width'], f['height']),
|
'q': '%dx%d' % (f['width'], f['height']),
|
||||||
}
|
}
|
||||||
request = compat_urllib_request.Request(
|
request = compat_urllib_request.Request(
|
||||||
'http://www.pluralsight.com/training/Player/ViewClip',
|
'http://app.pluralsight.com/training/Player/ViewClip',
|
||||||
json.dumps(clip_post).encode('utf-8'))
|
json.dumps(clip_post).encode('utf-8'))
|
||||||
request.add_header('Content-Type', 'application/json;charset=utf-8')
|
request.add_header('Content-Type', 'application/json;charset=utf-8')
|
||||||
format_id = '%s-%s' % (ext, quality)
|
format_id = '%s-%s' % (ext, quality)
|
||||||
|
Loading…
Reference in New Issue
Block a user