Skip to content

Does not handle titles with | (vertical bar or pipe) in name #80

Description

@TheFigmo

Example YouTube URL: https://www.youtube.com/watch?v=nFYeOP4Sw_8

RunVideoDownload() downloads the above video to THIS file name (path stripped as not relevant to this issue):
"If It Means a Lot to You - A Day to Remember & Sierra Kusterbeck | Karaoke Version | KaraFun [nFYeOP4Sw_8].webm"

The RunResult.Data returned by RunVideoDownload() shows THIS as the file name (in Data member) :
"If It Means a Lot to You - A Day to Remember & Sierra Kusterbeck Karaoke Version KaraFun [nFYeOP4Sw_8].webm"

Notice that the returned file name has been stripped of all '|' chars and thus does not match the name of the actual file that was downloaded.

EDIT:

Note that the filenames created by RunVideoDownload() in the Windows folder uses the following unicode char in place of the pipes...

'|'
(int)'|' = 65372 // or U+FF5C meaning the Fullwidth Latin Small Letter Pipe (|)

The actual Title on YouTube does contains the normal pipe character (int)'|' = 124. Probably should look at making sure the correct character is used while fixing the missing characters issue originally mentioned above.

So to sum up:

Normal Pipe char(124) in the YouTube Title.
"Fullwidth Latin Small Letter Pipe" unicode character in the disk filename.
Neither of the above in the returned filename from RunVideoDownload() RunResult.Data

I can deal with the unicode char difference but the original issue of these being omitted from the returned filename remains.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions