Giter VIP home page Giter VIP logo

egghead-video-download's Introduction

Egghead Video Download

Quick Introduction how to Download Egghead Videos for Offline View.

Please remember that these guys make a great job and invest lots of time to provide these usefull information. That said consider to support them for their great work and Sign Up for a free account, follow them on Twitter, share their content or whatever ... I'm traveling and the Hotel internet sucks hard, so i share this infos for others with slow and anoying internet connections.

Update:

I wrote a small npm module to automate this task: get-links-cli.

Installation

Youtube Downloader

https://github.com/rg3/youtube-dl

brew install youtube-dl

Get Links

Javascript Code

Solution 1: Collect all links and copy them direct to the clipboard.

Execute the snippet and past it into a Textfile to download later via the Youtube Downloader.

let a=[];document.querySelectorAll('.title a').forEach(l => a.push(l.href));copy(a.join('\n'));

Info: Clipboard support may not work with every Browser: http://caniuse.com/#feat=clipboard.

Solution 2: Print the collected links to the console via console.dir

document.querySelectorAll('.title a').forEach(l => console.dir(l.href))

The tip to use console.dir() came from tucq88 who run in some issues with to long URL's which Chrome shorten via "...".

Info: console.dir is not an official standard yet it may or may not work in your current Browser.

Solution 3: Collect the links and print the Array Object

let a=[];document.querySelectorAll('.title a').forEach(l => a.push(l.href));console.log(a);

Solution 4: Print collected links via console.log

document.querySelectorAll('.title a').forEach(link => console.log(link.href))

This was the original solution but can cause problems with too long URL's which the Browser shorten between with "...".

Save the collected links in a Textfile list.txt and run:

Download

youtube-dl -i -o "%(autonumber)s-%(title)s.%(ext)s" -a list.txt

Download for Pro-User

This Tip comes from torfeld6

Download Pro content without clicking through the whole playlist:

youtube-dl -i -o "%(autonumber)s-%(title)s.%(ext)s" -a list.txt --cookie ../cookies.txt

The cookies.txt can be downloaded via https://chrome.google.com/webstore/detail/cookiestxt/njabckikapfpffapmjgojcnbfjonfjfg

I don't have a Pro Account yet so i can't test it

Contact / Social Media

Get the latest News about Web Development, Open Source, Tooling, Server & Security

GithubDockernpmTwitterFacebookGoogle+Gitter

License

Creative Commons License

This work by Maik Ellerbrock is licensed under a Creative Commons Attribution 4.0 International License.

egghead-video-download's People

Contributors

ellerbrock avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.