Code has been deleted in response to a takedown request.
chris124567 / hulu Goto Github PK
View Code? Open in Web Editor NEWHulu downloader written in Go (Code removed in response to request)
Hulu downloader written in Go (Code removed in response to request)
Redacted
Tutorial to run the code, please!
go run main.go -HULU_SESSION="91UNUN7K600%2FO347dEU0oqHpL8RnBjicf" hulu search -query="mas*h"
.\main.go:70:17: undefined: client.NewDefaultClient
I get this error when trying to run a download, everything else so far has worked
panic: proto: cannot parse invalid wire-format data
goroutine 1 [running]:
main.main()
C:/Users/num42/go/pkg/mod/github.com/chris124567/[email protected]/main.go:172 +0x16e5
When I attempt to run
HULU_SESSION="blah" hulu download -id="blah"
I alternately get one of the following two errors:
Which error depends on what movie ID I use.
panic: Get "": unsupported protocol scheme ""
HULU_SESSION="REDACTED" ~/go/bin/hulu download -id="42f7eefe-2448-4ed5-87cb-6233c89c20f6"
panic: Get "": unsupported protocol scheme ""
goroutine 1 [running]:
main.main()
/home/jake/go/pkg/mod/github.com/chris124567/[email protected]/main.go:131 +0x1d05
panic: proto: cannot parse invalid wire-format data
HULU_SESSION="REDACTED" ~/go/bin/hulu download -id="fd311578-bbce-45f4-949f-8d62ebcec582"
panic: proto: cannot parse invalid wire-format data
goroutine 1 [running]:
main.main()
/home/jake/go/pkg/mod/github.com/chris124567/[email protected]/main.go:172 +0x1c93
Package version: latest
go version: 1.16
hulu is installed in ~/go/bin
Bento4 SDK is installed in ~/Bento4
yt-dlp is installed in ~
when you do multiple searches kinda close together you get this error
panic: Get "": unsupported protocol scheme ""
goroutine 1 [running]:
main.main()
c:/Users/dir/dir/dir/main.go:115 +0x153b
I believe this might be Hulu limiting the number of people that can watch Hulu at a time as when I tried to watch in a browser it gave me that error.
Would you be open to contributions that would add the MPD audio/video download part to the repository?
To basically remove the yt-dlp
dependency?
Asking because of:
Technically, this could be implemented rather easily in this repository but I want to keep this repository simple and avoid rewriting code to deal with segment merging or quality selection menus.
Downloading a movie: panic: Get "": unsupported protocol scheme ""
All good with TV.
Seems that because Hulu changed something on their end, eabID for movies is no longer obtained correctly for movies, eg
Response body of PlaybackInformation with movie
{"_type":"deep_link_playback","browse":{"target_type":"movie","target_id":"f82b95f5-13da-4acd-b378-7d3f6864919f","target_theme":"hub_theme_entity_detail","params":{},"type":"browse"},"href":"https://discover.hulu.com/content/v5/hubs/movie/f82b95f5-13da-4acd-b378-7d3f6864919f?schema=1","id":"f82b95f5-13da-4acd-b378-7d3f6864919f","href_type":"movie","restriction_level":"not_rated"}
With TV
{"_type":"deep_link_playback","browse":{"target_type":"series","target_id":"227de06a-d3d4-42e0-9df1-bb5495e1738d","target_theme":"hub_theme_entity_detail","params":{},"type":"browse"},"eab_id":"EAB::48ccc382-71f4-49cb-9f37-394311790a9b::151224174::150327995","href":"https://discover.hulu.com/content/v5/hubs/series/227de06a-d3d4-42e0-9df1-bb5495e1738d?schema=1","id":"48ccc382-71f4-49cb-9f37-394311790a9b","href_type":"series","restriction_level":"not_rated"}
I have no idea how to get this started, struggling to download bento4 and YT-DLP or whatever those two things are, and I'm also struggling to understand the rest of the guide as well. A video would be nice to show how to install all of these (Except bento4 and YT-DLP, since those are libraries not made or owned by you).
i read the read me page how do i get it to work??
I'm sorry for being an idiot if this is an easy fix but I have not been able to figure out the HULU_SESSION variable on Windows. I saw there was a previous issue that someone opened and you said you don't use Windows so you may not have an answer though.
Whenever I run the following, HULU_SESSION="xyz" hulu search -query="Test", I get that the HULU_SESSION is not an external or internal command. In the previous issue you mentioned using SET to set the HULU_SESSION variable but when I do that and run just, hulu search -query="Test", I get a message saying "It is necessary to specify the HULU_SESSION environment variable because the Hulu API requires this for all requests."
Thank you for any help.
Thank you for this excellent piece of software. If you don’t mind me asking, I have a few questions.
Thanks.
-WV
Whether movie or tv show, same error. I can use the query command just fine, but not the download command.
panic: proto: cannot parse invalid wire-format data
goroutine 1 [running]:
main.main()
/home/mantiqulla/hulu/main.go:172 +0x1c93
Edit: Using Ubuntu on windows; go version 1.16.12
Edit2: crap, I don't think I read through the dependencies good enough. looking into that now
Edit3: nope wasn't a bento problem
Bro need development help contact me @alienmaster9 telegram paid basis am not asking free helper
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.