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.
[req] egghead.io #6635
[req] egghead.io #6635
Comments
|
+1 Especially for the Pro videos, -u and -p don't seem to be working |
|
The single video page provided seems to be a Wistia-embed, which is supported. Search and playlists for the site does not seem to work as of now, though. |
|
Here's an option... https://github.com/SimonSelg/egghead-downloader |
|
seems to work for free courses, but how do we login to egghead for pro courses? |
|
I cannot get courses one. I tried with https://egghead.io/courses/asynchronous-javascript-with-async-await but got |
|
The regex for extracting title in version 2017.05.14 is |
|
Yes - the egghead extractor needs updating to the new way the site works. Interestingly, the course pages seem to embed a JSON representation of the lessons (it's actually JSON embedded in a <script type="application/json" class="js-react-on-rails-component">
{
"component_name": "CourseApp",
"props": {
"course": {
"id": 115,
"duration": 2073,
"title": "Maintainable CSS using TypeStyle",
"slug": "maintainable-css-using-typestyle",
"http_url": "https://egghead.io/courses/maintainable-css-using-typestyle",
"url": "https://egghead.io/api/v1/series/maintainable-css-using-typestyle",
"lessons": [{
"id": 2050,
"title": "Add type safety to CSS using TypeStyle",
"slug": "css-add-type-safety-to-css-using-typestyle",
"duration": 253,
"series_row_order": -2097151,
"http_url": "https://egghead.io/lessons/css-add-type-safety-to-css-using-typestyle",
"url": "https://egghead.io/api/v1/lessons/css-add-type-safety-to-css-using-typestyle",
"lesson_http_url": "https://egghead.io/lessons/css-add-type-safety-to-css-using-typestyle"
}]
}
}
}
</script>This JSON looks pretty much like the output of the public API for the course, found at https://egghead.io/api/v1/series/maintainable-css-using-typestyle. So presumably for a given course the egghead extractor could use this public API - the lesson API responses even include the wistia ID to potentially save loading the HTML to extract it. But even if youtube-dl doesn't like to rely on the actual API itself, it can certainly scrape the page as normal but use this JSON instead of the more likely-to-change HTML to get the title as well as the references to the individual lesson pages. Just a suggestion. |
|
I tried to tackle this and I ended up using the public API, referring to the wistia ID's of each lesson. Check out the PR below :) (This is my first PR and it's been a while since I coded something in Python, so sorry in advance if I get anything wrong.) |
|
@santicalcagno looks good enough to me (though I haven't tested it!) |
|
Egghead support seems to be broken now. Tried to run
|
|
I agree that the lesson pages don't work, but FWIW the course pages do. But yes, the lesson pages could still do with being fixed. |
|
Yup, it's pretty straightforward to fix given the logic used for courses. Theoretically, defining a new extractor refering to the wistia ID exposed, for example, in https://egghead.io/api/v1/lessons/javascript-create-a-native-desktop-system-menu-with-the-electron-menu-module should be enough. I'm kinda busy ATM, so if anyone wants to give this a go, by all means do so. Otherwise I should be taking this a look in a couple of weeks or so. |
|
|
I'm on it. I found the dash and m3u8 URLs, now all I've left is check how I can redirect ytdl to use them. Update: Current stage:
|
|
I have the same issue. Can't download from Eggghead
|
|
Stilling getting the issue. ERROR: An extractor error has occurred. (caused by KeyError(u'wistia_id',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. |
|
As @joelhooks said in #14388 (comment): @eggheadio isn't using Wistia for streaming any longer. So this will be solved by #14388 I guess |
|
Still not working. Will it be fixed? |
|
@iamdubx #14388 still isn't merged so... |
|
Still same issue. Muhammads-MacBook-Pro:Videos mkamran$ sh download.sh create-a-news-app-with-vue-js-and-nuxt Muhammads-MacBook-Pro:Videos mkamran$ Start a Nuxt Project with npx and the Vue.js CLI |
|
@smkamranqadri #14388 still isn't merged so... |
|
@MichaelDeBoey how can use that code? |
|
That works, but can't get it to download the best video format. |
|
thanks but I am not python expert so don't know what to do next after cloning? |
|
If I understand right - guys from Egghead ask guys from |
then run
However, this doesn't download the best available quality.
Specifying the width of the video throws a request format error.
|
|
|
To tell the truth - I don't understand why Egghead are fighting so hard so nobody can download they videos. Today I will torrent all available Egghead courses on Rutracker, and I have most of them. |
|
@0880 Yep, that's it. Thanks! |
|
ERROR: requested format not available |
|
Extraction fixed in latest version.
|
|
still same Muhammads-MacBook-Pro:youtube-dl-rg3 mkamran$ python -m youtube_dl "https://egghead.io/lessons/react-error-handling-using-error-boundaries-in-react-16" no change receive on pull https://github.com/mk-pmb/youtube-dl-rg3.git
|
technology list: https://egghead.io/technologies/angular2
series list: https://egghead.io/series/react-flux-architecture
search results list: https://egghead.io/search?q=testing
video page: https://egghead.io/lessons/react-development-environment-setup