rickmiron / variado

59 stars 7 forks source link

Title containing special characters #38

Closed ok9009le closed 4 months ago

ok9009le commented 4 months ago

What's the best way to deal with file name compile error due to titles containing special characters [*, ', ", etc]

[Messages] Get ofuscado https://surrit.com/d6d58061-3cd1-459d-8b52-fd9f1c6a5aa2/1280x720/video.m3u8 https://fivetiu.com/ipx-980-uncensored-leak/cover-n.jpg Get ofuscado https://surrit.com/d6d58061-3cd1-459d-8b52-fd9f1c6a5aa2/1280x720/video.m3u8 https://fivetiu.com/ipx-980-uncensored-leak/cover-n.jpg [Errno 2] No such file or directory: "hitomi_downloadedmissav\IPX-980-UNCENSORED-LEAK * This is a example title containing special ' characters .mp4.webp" stop Traceback (most recent call last): File "utils", line 1395, in start File "utils", line 1474, in start File "decorator", line 232, in fun File "constants", line 942, in try File "constants", line 911, in try File "dynamic_module_0", line 139, in read File "dynamic_module_0", line 44, in init File "dynamic_module_0", line 62, in tojpg FileNotFoundError: [Errno 2] No such file or directory: "hitomi_downloaded_missav\IPX-980-UNCENSORED-LEAK * This is a example title containing special ' characters .mp4.webp"

Invalid: fail=True EOT: https://missav.com/dm76/en/ipx-980-uncensored-leak (4.0s)

rickmiron commented 4 months ago

I updated the plugin, try again

ok9009le commented 4 months ago

Works like a charm. Thank you!