[dplayit] Relax video id regex (closes #13524)

This commit is contained in:
Sergey M․ 2017-06-30 21:55:45 +07:00
parent b311b0ead2
commit d4f8ce6e91
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -184,7 +184,7 @@ def _real_extract(self, url):
webpage = self._download_webpage(url, display_id)
info_url = self._search_regex(
r'url\s*:\s*["\']((?:https?:)?//[^/]+/playback/videoPlaybackInfo/\d+)',
r'url\s*[:=]\s*["\']((?:https?:)?//[^/]+/playback/videoPlaybackInfo/\d+)',
webpage, 'video id')
title = remove_end(self._og_search_title(webpage), ' | Dplay')