Skip to content

Commit

Permalink
broken branch needs work
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewxcav committed Dec 31, 2024
1 parent 42e408a commit e54a658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers/twitter_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def filesize_limiter(info_dict, *args, **kwargs):
else:
result = ydl.extract_info(url, download=True)
actual_filename = ydl.prepare_filename(f"{result}_{url_hash}")
recent_video_cache[url_hash] = actual_filename #move this after exceptions?
recent_video_cache[url_hash] = actual_filename
print(f"Cache miss filename: {actual_filename}")
except FilesizeLimitError as e:
print(f"Skipping download: {e}")
Expand Down

0 comments on commit e54a658

Please sign in to comment.