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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download the title of the file #20578

Closed
reov opened this issue Apr 6, 2019 · 2 comments
Closed

Download the title of the file #20578

reov opened this issue Apr 6, 2019 · 2 comments

Comments

@reov
Copy link

@reov reov commented Apr 6, 2019

When my server created the config download youtube video, I found that many characters of the downloaded title are empty, but there is no problem with windows, the config content is -o /root/Downloads/%(title)s.%(ext)s
--exec "rclone move {} /root/GoogleDrive/youtube-dl/",
on ssh
youtube-dl https://www.youtube.com/watchv=3AyrbaUUF70&list=PLAy_aKkcOIK4e1de9i0P0bVIfDz4wYkQS&index=266&t=0s
[3] 31380
[4] 31381
[5] 31382
[2] Done youtube-dl https://www.youtube.com/watch?v=3AyrbaUUF70
WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
[youtube] 3AyrbaUUF70: Downloading webpage
[youtube] 3AyrbaUUF70: Downloading video info webpage
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[download] Destination: /root/Downloads/MMD.f299.mp4
[download] 100% of 80.76MiB in 00:03
[download] Destination: /root/Downloads/MMD.f251.webm
[download] 62.9% of 3.18MiB at 20.71MiB/s ETA 00:0

However, this is the case on windows.
youtube-dl https://www.youtube.com/watch?v=3AyrbaUUF70&list=PLAy_aKkcOIK4e1de9i0P0bVIfDz4wYkQS&index=266&t=0s
[youtube] 3AyrbaUUF70: Downloading webpage
[youtube] 3AyrbaUUF70: Downloading video info webpage
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[download] Destination: [MMD]儒雅恋人言和 #遗世蒹葭-3AyrbaUUF70.f299.mp4
[download] 100% of 80.76MiB in 00:12
[download] Destination: [MMD]儒雅恋人言和 #遗世蒹葭-3AyrbaUUF70.f251.webm
[download] 100% of 3.18MiB in 00:00
[ffmpeg] Merging formats into "[MMD]儒雅恋人言和 #遗世蒹葭-3AyrbaUUF70.mkv"
Deleting original file [MMD]儒雅恋人言和 #遗世蒹葭-3AyrbaUUF70.f299.mp4 (pass -k to keep)
Deleting original file [MMD]儒雅恋人言和 #遗世蒹葭-3AyrbaUUF70.f251.webm (pass -k to keep)

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Apr 6, 2019

WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.

and also quote the url: https://github.com/ytdl-org/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command

@remitamine remitamine closed this Apr 6, 2019
@reov
Copy link
Author

@reov reov commented Apr 6, 2019

I looked at other problems, the easiest way is to update the python, the latest version can

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.