mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #1334] Bug: yt-dlp fails to download when media filename is too long or contains special characters #3835
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#3835
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Giger22 on GitHub (Jan 22, 2024).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1334
Describe the bug
Cannot download media from a nitter. Probably happens when a file name is too long. Easly solved when using a yt-dlp by changing an output file name (-o "name.mp4") but how do I prevent this from happening in archivebox?
Steps to reproduce
For example:
I use yt-dlp.
Screenshots or log output
Failed to save media
ArchiveBox version
@pirate commented on GitHub (Jan 23, 2024):
I just pushed a fix to add the
--restrict-filenamesand--trim-filenamesoption to the default args:3b36928bdcYou can wait for it to be released in v0.7.3, or run
:devto get the fix now: https://github.com/ArchiveBox/ArchiveBox#install-and-run-a-specific-github-branchIn the future if you want to customize yt-dlp args you can configure the
YOUTUBEDL_ARGSarchivebox option like so: