Open timonvanhasselt opened 1 month ago
same stream works for me, are you on latest yt-dlp package?
minimal code
p = OCPYoutubeExtractor()
s = p.extract_stream("https://music.youtube.com/watch?v=nrXwxkTKVoc", video=False)
print(s)
logs
WARNING: [youtube] nrXwxkTKVoc: nsig extraction failed: You may experience throttling for some formats
n = OSMtoMCJXQ1dtI3NsNo ; player = https://www.youtube.com/s/player/8d9f6215/player_ias.vflset/en_US/base.js
WARNING: [youtube] nrXwxkTKVoc: nsig extraction failed: You may experience throttling for some formats
n = t1G3JyKC1-RMs2bIM6f ; player = https://www.youtube.com/s/player/8d9f6215/player_ias.vflset/en_US/base.js
{'duration': 242, 'image': 'https://i.ytimg.com/vi/nrXwxkTKVoc/maxresdefault.jpg', 'artist': 'Beth Hart', 'title': 'Leave The Light On', 'url': 'https://www.youtube.com/watch?v=nrXwxkTKVoc', 'uri': 'https://rr2---sn-1vo-v2vd.googlevideo.com/videoplayback?expire=1720740868&ei=pBeQZv79BbKcvdIPu-qo2A8&ip=89.154.90.167&id=o-APVjp6gGjg-dSw8r2-JiUKlKu-DvRrbFS0HHbF24_LIh&itag=140&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&mh=nw&mm=31%2C29&mn=sn-1vo-v2vd%2Csn-1vo-apns&ms=au%2Crdu&mv=m&mvi=2&pl=20&gcr=pt&initcwndbps=1626250&vprv=1&svpuc=1&mime=audio%2Fmp4&rqh=1&gir=yes&clen=3921598&dur=242.186&lmt=1569697559349544&mt=1720718726&fvip=7&keepalive=yes&c=IOS&txp=8311222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cgcr%2Cvprv%2Csvpuc%2Cmime%2Crqh%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJfQdSswRQIgbf85PSqrZ-ppM3W4KzBy-Oibg5XVOg98PJAd9Fs9ocQCIQDnaNNIJUt01iqswAbohUOW2StEtrlzpqkCmNJgfKQCYw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHlkHjAwRQIhAIsZR8_ORD1w7JBWcGd7ZseQbtUGqMR2Zmf7D3jSRlkDAiBRMjj2VUny5juavlRrcE-xV9nQBV8Li4jjgQAfeJVe3A%3D%3D', 'is_live': False}
this can also be something on youtube side, they love to do A/B testing.. might also only happen for some locations
more info needed
maybe related to https://github.com/yt-dlp/yt-dlp/issues/4635
Play music Beth Hart Leave the light on
matches with the Youtube skill, but the url can't be extracted right now.