diff --git a/Contents/Services/Shared Code/video.pys b/Contents/Services/Shared Code/video.pys index b819b89..e2c1fdc 100644 --- a/Contents/Services/Shared Code/video.pys +++ b/Contents/Services/Shared Code/video.pys @@ -61,7 +61,7 @@ USER_AGENT = ( 'Mobile/11B554a Safari/9537.54' ) -RE_DATA = Regex('ytplayer.config\s*=\s*({(?:.+)});\s*ytplayer.load\s*=') +RE_DATA = Regex('ytplayer.config\s*=\s*({(?:.+)});\s*(?:ytplayer.web_player_context_config|ytplayer.load)\s*=') def GetServiceURL(vid, token='', hl=''):