Skip to content

File names use "full-width" special characters: '?' vs '?' #5014

@AlbatorLaho

Description

@AlbatorLaho

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

  • I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

Region

USA

Provide a description that is worded well enough to be understood

Recently (last month or so) all videos I download from YouTube use "full-width" special characters. (such as question mark, explication mark, colon, semicolon, &c.)
Other characters such as [A-Za-z] are "normal".
The video name appears to be "normal" in the json file from --write-info-json so I guess there must be some problem when naming the actual video file?
Example of "full-width" special character (U+FF1F) vs "normal" value ?(U+003F)

Provide verbose output that clearly demonstrates the problem

  • Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
  • Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

[debug] Command-line config: ['-vU', '--write-info-json', 'https://www.youtube.com/watch?v=aMu07rtD6cI']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.09.01 [5d7c7d6] (pip)
[debug] Python 3.10.6 (CPython 64bit) - macOS-10.14.6-x86_64-i386-64bit
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 5.1.1 (setts), ffprobe 5.1.1, phantomjs 2.1.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.06.15, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Loaded 1670 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.09.01, Current version: 2022.09.01
yt-dlp is up to date (2022.09.01)
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=aMu07rtD6cI
[youtube] aMu07rtD6cI: Downloading webpage
[youtube] aMu07rtD6cI: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] aMu07rtD6cI: Downloading 1 format(s): 313+251
[info] Writing video metadata as JSON to: Has Sony made the PERFECT party speaker?? - Sony SRS-XG300 [aMu07rtD6cI].info.json
[debug] Invoking http downloader on "https://rr4---sn-5hne6n6l.googlevideo.com/videoplayback?expire=1664000334&ei=7kwuY7_CEYWmgQeWzrjgCg&ip=185.107.57.81&id=o-AN1bI8VdB1eprY2PFFOVynifiL7VqM1SEcXxWlXrnHfS&itag=313&source=youtube&requiressl=yes&mh=MG&mm=31%2C29&mn=sn-5hne6n6l%2Csn-5hneknes&ms=au%2Crdu&mv=m&mvi=4&pl=24&initcwndbps=742500&spc=yR2vp3sGNQp7SHQxVzwXReu9qasZioY&vprv=1&svpuc=1&mime=video%2Fwebm&gir=yes&clen=960895517&dur=670.636&lmt=1663652915447588&mt=1663978408&fvip=2&keepalive=yes&fexp=24001373%2C24007246&c=ANDROID&txp=4432434&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgOIxx2ERu1BYvGrE2ip0j70kg9oHqM-IUXtZXx0DrWI0CIQDS7KQdsR92BDUC5yeJwLJUVspkChI_SchEKbVgFbf5IA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRQIhALQvcN8pZ12W3V9qYKxlfsw7BgZn89ETQdEIb6HUwKWkAiBJEFWOGFw_83C1Hb769yOZzH-EZeaGphU8dj5dXNMsEQ%3D%3D"
[download] Destination: Has Sony made the PERFECT party speaker?? - Sony SRS-XG300 [aMu07rtD6cI].f313.webm

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existsquestionQuestion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions