Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Site support request: watchnebula.com #21258
Comments
|
Yeah, this would be sweet. |
|
@remitamine Did you reopen from the comment by @kristofferR or do you need some testing done? Let me know. I'll try running whatever you need tonight. |
|
this issue has been closed by mistake instead of #18566. |
|
Is there a secure way I can share my account login with a developer willing to work on this? |
|
FYI, I'm working on a Nebula extractor. (CC @danfiscus) It's at the proof-of-concept stage right now, but it successfully downloaded the three videos I threw at it so far. I'm actually new to Nebula, subscribed just yesterday. Am I right to assume that there isn't a single public video (for testing)? They're all behind the subscription wall, correct? This is also my first extractor. Can someone advise me how to set a cookie jar when testing with the As @remitamine has already hinted at, it's just extracting some meta data and then uses the |
|
AFAIK there is no public access to Nebula, at least not over the past two years. Unfortunately, I don't know enough about YouTube-DL to help with the cookie situation. And I can test your script whenever you're ready. Thanks for the work! |
|
Here is my proof-of-concept implementation of Nebula support. Feedback very welcome, there's a good number of open questions — mostly with how to write a best practice extractor, but some are around Nebula as well. I'm a bit frustrated that I cannot really figure out how Nebula determines the creator or uploader (often it's rather the series). There's other metadata missing, but that's the one that I personally wish was there. I will submit a PR in the next days, but I'm not sure if I have the ability to do a full submission, with testing builds, Python 2.6 and 2.7, etc. |
|
I did figure out a way to determine the channel name. I found the corresponding React code the frontend uses, and it's a bit absurd, but I'm now replicating the same approach in the extractor.
Basically, it finds the first (truthy) value in the category list and that's assumed to be the channel name. And then the channel details (e.g. the URL) are looked up by title (!) (not by any kind of ID) via an additional API call (that part I won't implement for now). @opsoyo @danfiscus For an edge case test, are you aware of any 'free floating' videos on Nebula? I.e. can a video exist without a channel? |
|
I haven't seen any videos without a channel. I think it's fair to assume no videos currently exist (publicly) without a channel. As for the channel name, thanks for digging around. My original inspection didn't discover any signs of a well-formatted or organized JSON, so hacky sites will be treated in hacky ways. |
|
I don't know of any channel-less videos either, but I can take a look later this evening and edit this comment. |
|
I do want to implement channel support — that is, the ability to point youtube-dl at a channel, as opposed to video, and have it download all videos listed there — and I also roughly know how to do it, but I decided to go forward and try to get this accepted into the mainline first. Baby steps and all. |
|
So, is there any hope to this? |
|
@InVItroVeritas The implementation is complete (for basic videos, not yet entire channels). We're now waiting for the project maintainers to review, suggest changes and hopefully accept the contribution. Note that there's currently 637 other open pull requests on this project, so this might take a while! If you don't want to wait for that, and you have some basic experience with running Python applications, you're welcome to download my branch directly and test it. Please provide feedback! |
Hello! thank you for making this branch! |
|
If you are familiar with pip, you can also just run |
|
Is this planned to go to master or only as an extra branch? |
Not sure who you're asking. It's not on me to decide, but the maintainers of youtube-dl. |
|
Thats sad to hear, as I really like nebula and think it's a great project/experiment. |
Checklist
Example URLs
Description
M3U file provided by single video example above: https://manifest.zype.com/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2NzbS56eXBlLmNvbS81YzE4MmQwNjY0OWYwZjEzNGEwMDE3MDMvNWNlNTYwMzA4OTM4MmY1NGQzOGQwMTI3LzVjZTU2MGUxMWM0Zjk2N2ZiMzdkODExYS81NDViZDZjYTY5NzAyZDA1YjkwMTAwMDAvMTlhYzA5MzEtNTA5OS00YzRlLTg0OTYtY2QwYzVlNTJhNDEyLm0zdTgiLCJwYXJhbXMiOnsiNnBMS01RM3kiOiJBM0x6aVEzaSIsIkYzOGIxZEY0IjoiNWNlZmM3ZTU1OTc3OGI1N2UxODMxMmM2In0sImV4cCI6MTU1OTIyODk1NX0.xMg1JJJMEBV1mAnlrYB4xP8rvGTGeN-5_DICu489jR8
M3U file for link above:
m3u.txt
Video page source code:
video_page_source.txt
Video page HTML DOM:
video_page_dom.txt
Channel page source code:
channel_page_source.txt
Channel page HTML DOM:
channel_page_dom.txt