Open yichen14 opened 2 months ago
https://github.com/pigeonai-org/ViDove/blob/main/src/task.py#L343 https://github.com/pigeonai-org/ViDove/blob/main/src/task.py#L338
modify line 343 and 338
video_opts = {
'format': video_format,
'outtmpl': video_download_path,
'cookiefile': 'path/to/cookie',
}
audio_opts = {
'format': 'bestaudio[ext=mp3]/bestaudio',
'outtmpl': audio_download_dir,
'cookiefile': 'path/to/cookie',
}
please refer to https://www.reddit.com/r/youtubedl/wiki/cookies/ @JiaenLiu @beginsc