- webpage, ''))
- release_urls = json.loads(release_urls_json)
- theplatform_url = (
- release_urls.get('progressive') or release_urls.get('standard'))
+ webpage, 'player')
+ player = re.sub(r"'\s*\+\s*[\da-zA-Z_]+\s*\+\s*'", '', player)
+
+ release_urls = self._parse_json(js_to_json(player), video_id)
+
+ theplatform_url = release_urls.get('progressive') or release_urls['standard']