diff --git a/main.py b/main.py index 78404da..96c5863 100644 --- a/main.py +++ b/main.py @@ -306,8 +306,10 @@ def dir_list_create( data, cat, video_type='video', search = False, play=0 ): title = re.compile(r']+)?>(.*)', re.DOTALL|re.IGNORECASE).findall(video) link = re.compile(r'', re.DOTALL|re.IGNORECASE).findall(video) img = re.compile(r'([^\<]+)(\s*', re.DOTALL|re.IGNORECASE).findall(video) @@ -322,7 +324,7 @@ def dir_list_create( data, cat, video_type='video', search = False, play=0 ): #open get url and open player add_dir( video_title, BASE_URL + link[0], 4, images, '', cat, False, True, play, { 'name' : channel_link[0], 'subscribe': True } ) - + return amount elif video_type == 'cat_list':