1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-27 01:56:52 +00:00

[pluralsight] Update ViewClip URL

This commit is contained in:
Sergey M․ 2015-11-21 08:21:33 +06:00
parent 71bd93b89c
commit 651acffbe5

View file

@ -138,7 +138,7 @@ class PluralsightIE(InfoExtractor):
'q': '%dx%d' % (f['width'], f['height']),
}
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'))
request.add_header('Content-Type', 'application/json;charset=utf-8')
format_id = '%s-%s' % (ext, quality)