Skip to content

Commit

Permalink
Update video_download.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aturret committed Nov 9, 2023
1 parent f30d24b commit 63e4aeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/main/video_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ def download_video():
content_info = downloader.extract_info(url, download=False)
if download:
file_path = downloader.prepare_filename(content_info)
# if the file name is too long, we will use the short version
file_path = filename_reduction(file_path)
# if len(file_path) > 150:
# file_path = filename_reduction(file_path)
file_path_output = file_path.split('/')[-1] if config.get('LOCAL_MODE', True) \
else config.get('BASE_URL') + '/fileDownload' + file_path

Expand Down

0 comments on commit 63e4aeb

Please sign in to comment.