Apply clean text method to cat_video

master
azzy9 5 months ago
parent e896fb686d
commit 508fce2b77

@ -284,7 +284,7 @@ def dir_list_create( data, cat, video_type='video', search = False, play=0 ):
amount = len(videos)
for img, video_length, link, title in videos:
video_title = '[B]' + title.strip()+ '[/B]'
video_title = '[B]' + clean_text( title ) + '[/B]'
cat = 'other'
@ -299,7 +299,7 @@ def dir_list_create( data, cat, video_type='video', search = False, play=0 ):
if '<svg' in channel_name:
channel_name = channel_name.split('<svg')[0] + " (Verified)"
video_title = '[B]' + clean_text( title.strip() ) + '[/B]\n[COLOR gold]' + channel_name.strip().strip('"') + '[/COLOR]'
video_title = '[B]' + clean_text( title ) + '[/B]\n[COLOR gold]' + channel_name.strip().strip('"') + '[/COLOR]'
#open get url and open player
add_dir( video_title, BASE_URL + link.strip(), 4, str(img.strip()), str(img.strip()), '', cat, False, True, play, { 'name' : channel_link.strip(), 'subscribe': True } )

Loading…
Cancel
Save