Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Errno 63] File name too long #120

Open
dognk opened this issue May 5, 2022 · 2 comments
Open

[Errno 63] File name too long #120

dognk opened this issue May 5, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@dognk
Copy link

dognk commented May 5, 2022

馃悰 Bug Report

[Errno 63] File name too long

馃敩 How To Reproduce

Steps to reproduce the behavior:

  1. xvideos-dl https://www.xvideos.es/profiles/the_best_moments

Code sample

xvideos-dl https://www.xvideos.es/profiles/the_best_moments

Environment

  • OS: macOS
  • Python version, get it with: 3.10
python --version

Screenshots

馃搱 Expected behavior

馃搸 Additional context

@dognk dognk added the bug Something isn't working label May 5, 2022
@github-actions
Copy link

github-actions bot commented May 5, 2022

Hello @dognk, thank you for your interest in our work!

If this is a bug report, please provide screenshots and minimum viable code to reproduce your issue, otherwise we can not help you.

@estebandido0
Copy link

In xvideos_dl.py line 345 change:
save_name = save_dir / f"{video_name}(#{video.vid}).mp4"
for:
save_name = save_dir / f"{video_name[:70]}(#{video.vid}).mp4"
and it should work. It uses the first 70 characters if the name is too long.
Sorry but im too lazy to fix it myself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants