ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.92k stars 10.01k forks source link

Downloading songs from youtube, the fields artist and release_year cannot be successfully retrieved. #25976

Closed ilias-sp closed 4 years ago

ilias-sp commented 4 years ago

Checklist

Verbose log

[http_offline@greenhat-32 tmp]$ youtube-dl -v -f 140 https://www.youtube.com/watch?v=rUdw7V-FC_Q -o '%(artist)s - %(title)s (%(release_year)s).m4a'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-f', '140', 'https://www.youtube.com/watch?v=rUdw7V-FC_Q', '-o', '%(artist)s - %(title)s (%(release_year)s).m4a']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.06.16.1
[debug] Python version 3.8.3 (CPython) - Linux-5.7.7-200.fc32.x86_64-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg N-83258-gd1df72a, ffprobe N-83258-gd1df72a
[debug] Proxy map: {}
[youtube] rUdw7V-FC_Q: Downloading webpage
[youtube] {18} signature length 106, html5 player 3662280c
[youtube] {137} signature length 106, html5 player 3662280c
[youtube] {248} signature length 102, html5 player 3662280c
[youtube] {136} signature length 106, html5 player 3662280c
[youtube] {247} signature length 106, html5 player 3662280c
[youtube] {135} signature length 106, html5 player 3662280c
[youtube] {244} signature length 106, html5 player 3662280c
[youtube] {134} signature length 102, html5 player 3662280c
[youtube] {243} signature length 106, html5 player 3662280c
[youtube] {133} signature length 106, html5 player 3662280c
[youtube] {242} signature length 106, html5 player 3662280c
[youtube] {160} signature length 106, html5 player 3662280c
[youtube] {278} signature length 106, html5 player 3662280c
[youtube] {140} signature length 102, html5 player 3662280c
[youtube] {249} signature length 106, html5 player 3662280c
[youtube] {250} signature length 102, html5 player 3662280c
[youtube] {251} signature length 102, html5 player 3662280c
[debug] Invoking downloader on 'https://r1---sn-fpoqixaa5n-5uil.googlevideo.com/videoplayback?expire=1594532510&ei=Pk4KX9nuGIingQetuYjgAQ&ip=79.107.36.108&id=o-AC2ig3k3pEJLU2YPRFpLLw8xzmj_bOIly_FuuAmlrDDu&itag=140&source=youtube&requiressl=yes&mh=7J&mm=31%2C29&mn=sn-fpoqixaa5n-5uil%2Csn-nv47lney&ms=au%2Crdu&mv=m&mvi=1&pl=17&gcr=gr&initcwndbps=702500&vprv=1&mime=audio%2Fmp4&gir=yes&clen=5543281&dur=342.471&lmt=1559186009919814&mt=1594510773&fvip=1&keepalive=yes&c=WEB&txp=5432432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cgcr%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRgIhAMwMN6eZfcgzRfXo3kaB_T_7ROEkIWC5UHoFZYbHTErFAiEAscrrAYyh_9zvPkE9kZhzHLbqlLAler1kIwK4oS0wRPQ%3D&sig=AOq0QJ8wRAIgdaapQcA03swwRIEttyEReCVoXJRavsNMRuAgl_2Y-M0CIHDkJz4Q5I_BRw9jUdg1K6I6IGfqZMO2TmiNxA8sy7Oc&ratebypass=yes'
[download] Destination: NA - Don't Leave Me This Way (NA).m4a
[download] 100% of 5.29MiB in 00:03
[ffmpeg] Correcting container in "NA - Don't Leave Me This Way (NA).m4a"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:NA - Don'"'"'t Leave Me This Way (NA).m4a' -c copy -f mp4 'file:NA - Don'"'"'t Leave Me This Way (NA).temp.m4a'
[http_offline@greenhat-32 tmp]$ 

Description

the fields artist and release_year have stopped working for approximatelly a week. Probably related to issue #25947

mrkumar009 commented 4 years ago

youtube is forcing new layout (even with updated cookie settings), so old regex/methods are failing to extract to description and other info. youtube is now serving all info in json/json-like string in webpage.

remitamine commented 4 years ago

Video unavailable This video is not available.

ilias-sp commented 4 years ago

Video unavailable This video is not available.

@remitamine what do you mean video is unavailable?

remitamine commented 4 years ago

it appears that the video is geo-restricted, anyway this issue is duplicate.