[TwitCasting] Title contains a lot of space
See original GitHub issueChecklist
- I’m reporting a bug unrelated to a specific site
- I’ve verified that I’m running yt-dlp version 2022.01.21. (update instructions)
- I’ve checked that all provided URLs are alive and playable in a browser
- I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
- I’ve searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
- I’ve read the guidelines for opening an issue
Description
When download TwitCasting live with %(title)s
in output, title has a lot of space which could lead to error due to file length > 255
Can reproduce by any live
Expected:
[NA][NA] しょけんさんください!! 最強にかわいい配信! 2022-01-26 14_37 (718518443).mp4
Actual:
[NA][NA] しょけんさんください!! 最強にかわいい配信! 2022-01-26 14_37 (718518443).mp4
I put the image since markdown eat all the space
Verbose log
[debug] Command-line config: ['-vU', 'https://twitcasting.tv/kagu__2525']
[debug] Portable config "E:\YouTube\yt-dlp.conf": ['--console-title', '--no-playlist', '--hls-use-mpegts', '--no-continue', '--no-part', '--cookies', './cookies.txt', '--output', './download/[%(uploader)s][%(upload_date)s] %(title)s (%(id)s).%(ext)s', '--write-info-json', '--write-thumbnail']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.01.21 [f20d607] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.22000-SP0
[debug] exe versions: ffmpeg 2021-07-11-git-79ebdbb9b9-full_build-www.gyan.dev (setts), ffprobe 2021-07-11-git-79ebdbb9b9-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.01.21, Current version: 2022.01.21
yt-dlp is up to date (2022.01.21)
[debug] [TwitCastingLive] Extracting URL: https://twitcasting.tv/kagu__2525
[TwitCastingLive] Downloading live video of user kagu__2525. Pass "https://twitcasting.tv/kagu__2525/show" to download the history
[TwitCastingLive] kagu__2525: Downloading webpage
[debug] [TwitCasting] Extracting URL: https://twitcasting.tv/kagu__2525/movie/718518443
[TwitCasting] 718518443: Downloading webpage
[TwitCasting] 718518443: Downloading live info
[TwitCasting] 718518443: Downloading m3u8 information
[TwitCasting] 718518443: Downloading source quality m3u8
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: best/bestvideo+bestaudio
[info] 718518443: Downloading 1 format(s): ws-main
[info] Downloading video thumbnail 0 ...
[info] Writing video thumbnail 0 to: download\[NA][NA] しょけんさんください!! 最強にかわいい配信! 2022-01-26 14_37 (718518443).jpg
[info] Writing video metadata as JSON to: download\[NA][NA] しょけんさんください!! 最強にかわいい配信! 2022-01-26 14_37 (718518443).info.json
[debug] Invoking downloader on "wss://202-239-41-12.twitcasting.tv/tc.edge/v1/streams/718518443.672.96/fmp4"
[download] Destination: download\[NA][NA] しょけんさんください!! 最強にかわいい配信! 2022-01-26 14_37 (718518443).mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -i - -c copy -f mp4 "file:download\[NA][NA] しょけんさんください!!
最強にかわいい配信! 2022-01-26 14_37 (718518443).mp4"
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
TwitCasting Live Blog — All About Broadcast Settings!
BROADCAST BYTES: All About Broadcast Settings! Choose the best Broadcast Setting for you, every time you Go Live! If you just tap Go...
Read more >TwitCasting - Company Profile and News - Bloomberg Markets
The Company offers an online service that allows users to view streaming live and archived videos, listen to live radio, as well as...
Read more >Organizing Your Social Sciences Research Paper
The title summarizes the main idea or ideas of your study. A good title contains the fewest possible words needed to adequately describe...
Read more >Command-Line Interface - Streamlink 5.1.2 documentation
Check if Streamlink has a plugin that can handle the specified URL. ... streamlink "--player=/path/with spaces/vlc" <url> [stream] streamlink --player ...
Read more >Everything Kalafina — Wakana on music×serendipity TwitCast ...
I have recordings for you and what's even more important, we got THREE album songs (all ... Wakana says there are a lot...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Ashish0804
html = re.sub(r'\s+', ' ', html)
@Ashish0804 You should remove
fatal=True
, otherwise it will never fall back tomovietitle
if the<meta>
extraction fails.