Open nichtmax opened 1 year ago
Can the code be modified to skip checking of metadata if the file already exist?
Also, seems like the code will break if there is an error with a particular post. Can it be modified so that the system will skip to the next post when an error is encountered?
Error opening input files: No such file or directory Traceback (most recent call last): File "C:\JustForFans\app.py", line 201, in parse_and_save_content(html_content) File "C:\JustForFans\app.py", line 173, in parse_and_save_content add_metadata_to_video(file_path, post.title, post.name, post.post_date, post.full_text) File "C:\JustForFans\app.py", line 82, in add_metadata_to_video os.remove(video_path) FileNotFoundError: [WinError 2] The system cannot find the file specified:
looks like
xvid.com
changed behavior, I only gotm3u8
files with the original version of the script. I changed the download method toyt-dlp
, what can download the contents of them3u8
file. Metadata is added to the files viaffmpeg
.I'm on MacOS, I don't see any reason why that shouldn't work with other OSes.