forked from MarseyWorld/MarseyWorld
wipe the cache the correct video url in wpd
parent
7000e1b07e
commit
088dd3b726
|
@ -121,7 +121,12 @@ def convert_to_mp4(old, new):
|
|||
os.replace(tmp, new)
|
||||
os.remove(old)
|
||||
|
||||
purge_files_in_cache(f"{SITE_FULL}{new}")
|
||||
if SITE == 'watchpeopledie.tv':
|
||||
url = f'https://videos.{SITE}' + new.split('/videos')[1]
|
||||
else:
|
||||
url = f"{SITE_FULL}{new}"
|
||||
|
||||
purge_files_in_cache(url)
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue