diff --git a/addon.xml b/addon.xml index f2ce58d..967bc88 100644 --- a/addon.xml +++ b/addon.xml @@ -1,5 +1,5 @@ - + diff --git a/resources/lib/joj.py b/resources/lib/joj.py index 8c60ac4..2eebc36 100644 --- a/resources/lib/joj.py +++ b/resources/lib/joj.py @@ -397,7 +397,7 @@ def resolve(self, item, captcha_cb=None, select_cb=None): bitrates_str = re.search(r'var src = {(.+?)};', d_player_str, re.DOTALL).group(1) #print('bitrates:', bitrates_str) bitrates_url = re.search(r'"mp4": \[(.+?)\]', bitrates_str, re.DOTALL).group(1) - bitrates_url = bitrates_url.replace("'","").replace('\n','').replace(' ','').split(',') + bitrates_url = bitrates_url.replace("'","").replace('\n','').replace(' ','').replace('"', '').split(',') for idx, url in enumerate(bitrates_url): item = self.video_item() item['img'] = poster_url