Skip to content

Commit

Permalink
fix download as file #412
Browse files Browse the repository at this point in the history
  • Loading branch information
BennyThink committed Aug 6, 2024
1 parent f07d522 commit 1f3871d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ytdlbot/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def adjust_formats(user_id: int, url: str, formats: list, hijack=None):
formats.insert(0, "bestaudio[ext=m4a]")

if settings[2] == "document":
formats.clear()
formats.insert(0, None)


def get_metadata(video_path):
Expand Down

0 comments on commit 1f3871d

Please sign in to comment.