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

'%(channel)s' is coming as NA instead of channel name #28562

Closed
6 tasks done
GorvGoyl opened this issue Mar 27, 2021 · 1 comment
Closed
6 tasks done

'%(channel)s' is coming as NA instead of channel name #28562

GorvGoyl opened this issue Mar 27, 2021 · 1 comment

Comments

@GorvGoyl
Copy link

GorvGoyl commented Mar 27, 2021

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2021.03.25
  • I've checked that all provided URLs are alive and playable in a browser
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've read bugs section in FAQ

Verbose log

$ .\youtube-dl -v -o '%(channel)s' https://www.youtube.com/watch?v=Vjf09Y51PaM
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-o', '%(channel)s', 'https://www.youtube.com/watch?v=Vjf09Y51PaM']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2021.03.25
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] Vjf09Y51PaM: Downloading webpage
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://r2---sn-ci5gup-qxaee.googlevideo.com/videoplayback?expire=1616889010&ei=UnBfYNr2E5PsjuMP1ZmroAQ&ip=117.99.178.121&id=o-AKM4GjH3456ijOSAYoObhhM6KouBktecFRF6Rlshb1_t&itag=18&source=youtube&requiressl=yes&mh=NW&mm=31%2C26&mn=sn-ci5gup-qxaee%2Csn-cvh7knle&ms=au%2Conr&mv=m&mvi=2&pl=20&gcr=in&initcwndbps=1007500&vprv=1&mime=video%2Fmp4&ns=DMiclyOW-QOIknCyapX-hGUF&gir=yes&clen=11000019&ratebypass=yes&dur=392.045&lmt=1568831289261741&mt=1616867090&fvip=2&fexp=24001373%2C24007246&beids=9466586&c=WEB&txp=2311222&n=N5Sdlo5hgfKDrjS2NzYZf&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cgcr%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cratebypass%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAKQ1xG2BgQ3W3_L9K8NjYG5cMl5biT75nDfq9a9I-MnnAiEA14QT2IHZmHOb8Ho6p0yUhPd4YQdABE9lE75UZZk69Fs%3D&sig=AOq0QJ8wRQIgZDSAo5LjuHCYUxbaqxuotO4DaZdCfSCkNDGR5wkZHHQCIQC6M3GnHQOWXFP2aQleLJSOKoJZeF80WFmIh3Whe2a7sw=='
[download] Destination: NA
[download] 100% of 10.49MiB in 00:01

Description

I can't get the channel name, instead I get NA, though channel_id is working fine.
How to reproduce:
RUN:

.\youtube-dl -v -o '%(channel)s' https://www.youtube.com/watch?v=Vjf09Y51PaM

Actual output file: NA
Expected output file: FluxPavilion

@GorvGoyl
Copy link
Author

woah that's a rapid fix. thanks.

github-actions bot added a commit to hellopony/youtube-dl that referenced this issue Mar 27, 2021
* https://github.com/ytdl-org/youtube-dl:
  [youtube] fix video's channel extraction(closes ytdl-org#28562)
  [picarto] fix live stream extraction(closes ytdl-org#28532)
leshasmlesha pushed a commit to leshasmlesha/youtube-dl that referenced this issue Apr 3, 2021
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