From 4c05cc72594baa3c4d79bf206002db05c389e397 Mon Sep 17 00:00:00 2001 From: greko17 Date: Mon, 11 Nov 2019 23:33:40 +0100 Subject: [PATCH] fix: dreamsub.py migliorato... --- channels/dreamsub.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/channels/dreamsub.py b/channels/dreamsub.py index 4d829292..4e69bb3d 100644 --- a/channels/dreamsub.py +++ b/channels/dreamsub.py @@ -261,7 +261,7 @@ def findvideos(item): data = httptools.downloadpage(url).data #host_video = scrapertoolsV2.find_single_match(data, r'var thisPageUrl = "(http[s]\:\/\/[^\/]+).+?"') - host_video = scrapertoolsV2.find_single_match(data, r'let thisPageUrl = "(http[s]\:\/\/[^\/]+).+?"') + host_video = scrapertoolsV2.find_single_match(data, r'(?:let|var) thisPageUrl = "(http[s]\:\/\/[^\/]+).+?"') link = scrapertoolsV2.find_single_match(data, r'