Sorrow446 / Nugs-Downloader

Nugs downloader written in Go.
104 stars 15 forks source link

Purchased Livestream panics, "Account subscription required." #21

Closed xasbo closed 1 year ago

xasbo commented 1 year ago

Running release 5 on Win10 Pro 21H2 and starting with the default config.json (my account credentials added), a purchased livestream fails to download. I confirmed that I can view the stream directly via Chrome.

Source URL: https://www.nugs.net/on/demandware.store/Sites-NugsNet-Site/default/Stash-QueueVideo?skuID=675828&showID=33350&perfDate=07-02-2023&artistName=Zeds%20Dead&location=7-2-2023%20Red%20Rocks%20Amphitheatre%20Morrison%2c%20CO&format=liveHdStream

The panic message is as follows:

PS D:\Nugs-Downloader> .\nugs_dl_x64.exe "https://www.nugs.net/on/demandware.store/Sites-NugsNet-Site/default/Stash-QueueVideo?skuID=675828&showID=33350&perfDate=07-02-2023&artistName=Zeds%20Dead&location=7-2-2023%20Red%20Rocks%20Amphitheatre%20Morrison%2c%20CO&format=liveHdStream"

 _____                ____                _           _
|   | |_ _ ___ ___   |    \ ___ _ _ _ ___| |___ ___ _| |___ ___
| | | | | | . |_ -|  |  |  | . | | | |   | | . | .'| . | -_|  _|
|_|___|___|_  |___|  |____/|___|_____|_|_|_|___|__,|___|___|_|
          |___|

panic: Account subscription required.

goroutine 1 [running]:
main.main()
        G:/go/nugs_wcast/main.go:1320 +0x5e5

I suspect that, as has been mentioned in other issues, that something changed on their side that needs adapting. How can I help troubleshoot this?

xasbo commented 1 year ago

While the commit log didn't lead me to believe that it would make a difference, I built from https://github.com/Sorrow446/Nugs-Downloader/commit/bd7af2825e778b0ce0ad8494a7563722901bad74 and retested - same outcome.

Sorrow446 commented 1 year ago

That's normal behaviour for now, the check always runs. Even if you're just downloading purchased media. The release 5 binaries are outdated, here's the latest version with the sub check removed. It'd get annoying if I were to post new binaries after every patch I commit so I only bother now and again. https://gofile.io/d/EgDTDq

xasbo commented 1 year ago

Gotcha - thanks for the quick turn on a new binary. Annoyingly, there's a new hurdle. Stream is still working via Chrome, but Nugs-Downloader reports:

PS D:\Nugs-Downloader-subpatch> .\nugs_dl_x64.exe "https://www.nugs.net/on/demandware.store/Sites-NugsNet-Site/default/Stash-QueueVideo?skuID=675828&showID=33350&perfDate=07-02-2023&artistName=Zeds%20Dead&location=7-2-2023%20Red%20Rocks%20Amphitheatre%20Morrison%2c%20CO&format=liveHdStream"

 _____                ____                _           _
|   | |_ _ ___ ___   |    \ ___ _ _ _ ___| |___ ___ _| |___ ___
| | | | | | . |_ -|  |  |  | . | | | |   | | . | .'| . | -_|  _|
|_|___|___|_  |___|  |____/|___|_____|_|_|_|___|__,|___|___|_|
          |___|

Signed in successfully -

Item 1 of 1:
Zeds Dead - 07/02/23 Red Rocks Amphitheatre, Morrison, CO
Item failed.
the api didn't return a video manifest url

I might use this as a jumping off point to actually start learning go, because at this point I feel inclined to start dumping the JSON replies and comparing to what's happening in the browser.

The event will have replays for a week and a one-time VOD after that - based on your experience with the platform, am I better off waiting for either of those? It's not clear if the week of replay will behave as liveHdStream, but seems like the VOD should be a video and maybe be less of a chore.

Sorrow446 commented 1 year ago

Gotta sleep soon so excuse the short reply. Could you message me over Discord (same username). I'll need to use your account to look into the problem if that's alright.

xasbo commented 1 year ago

No worries at all, we can work that out. I added you on Discord, but can't message until we're friends.