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

youtube-dl/yt-dlp does not convert all quote characters #34

Open
timotheeandres opened this issue May 13, 2022 · 0 comments
Open

youtube-dl/yt-dlp does not convert all quote characters #34

timotheeandres opened this issue May 13, 2022 · 0 comments

Comments

@timotheeandres
Copy link

timotheeandres commented May 13, 2022

Hello!

In utils.py, we have the following lines:

# Remove quote characters as YTDL converts these.
string = string.replace('’',"'")

But it does not seem to be the case. Here is an example:

$ youtube-dl --flat-playlist --get-title https://www.youtube.com/playlist?list=PLUnS6VWqJBaZqq_emLdwdCwU7O7RDEyxW
My Little Pony: Tell Your Tale | NEW SERIES | Trailer
My Little Pony: Tell Your Tale | A Home to Share | Full Episode
[...]
My Little Pony: Tell Your Tale | "Señor Butterscotch" | MLP
My Little Pony: Tell Your Tale | IT’S T.U.E.S. DAY | Full Episode

Notice the character in the last title.

The same happens with yt-dlp:

$ yt-dlp --flat-playlist --print title https://www.youtube.com/playlist?list=PLUnS6VWqJBaZqq_emLdwdCwU7O7RDEyxW
WARNING: [youtube:tab] YouTube said: INFO - 1 unavailable video is hidden
WARNING: [youtube:tab] YouTube said: INFO - Unavailable videos will be hidden during playback
My Little Pony: Tell Your Tale | NEW SERIES | Trailer
My Little Pony: Tell Your Tale | A Home to Share | Full Episode
[...]
My Little Pony: Tell Your Tale | "Señor Butterscotch" | MLP
My Little Pony: Tell Your Tale | IT’S T.U.E.S. DAY | Full Episode
[Private video]

Both youtube-dl and yt-dlp were downloaded using pip, and I have youtube-dl 2021.12.17 and yt-dlp 2022.04.08

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

No branches or pull requests

1 participant