ydl

command module
v0.0.0-...-94e0628 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2018 License: MIT Imports: 7 Imported by: 0

README

ydl

ydl - yt downloader

For my own personal use. I use Youtube a lot to listen to music and often I want to dl the songs and listen to them offline in my car, from an USB stick. I dislike youtube downloaders because they are breaking my flow.

So I made this downloader that is running on one of my VMs. It has a chrome extension that lets me just click a button when I like a song, and it will be downloaded and converted to MP3 on my server; then I only need to fetch them from time to time.

instructions:

  1. git clone git@github.com:teo-mateo/ydl.git

*you only need the folder chrome-ext.

  1. make a small change to a js file. This will implicitly create your profile. The file is chrome-ext/popup.js

    Modify this code:

    //AJAX call
    var x = new XMLHttpRequest();
    x.open('GET', "http://localhost:8080/ydl?who=otheruser&v="+url);

    ----> change the "who" parameter from "otheruser" to however you want to name your user. ----> change the url from localhost to http://bardici.ro:8080/...

    save the file. -Cpt. Obvious

  2. install the extension Use Chrome

    Navigate to chrome://extensions/

    Click on "Load unpacked extension"

    Select the /chrome-ext folder

  3. my pretty face will show up in your chrome toolbar. click it when you like dat song.

  4. use http://bardici.ro:8080 to get your stuff.

  5. don't abuse it; don't delete other people's songs. do delete your songs from time to time. the system is being monitored 24/7 by myself, but only when I remember to do that. all suspicious activity will be thoroughly ignored.

  6. don't share this with others.

  7. don't be mean to puppies.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL