Skip to content

Commit

Permalink
help cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
ern0 committed Feb 27, 2017
1 parent ead5f1e commit a974889
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ youda.py
## How to setup ##

- download this script to your computer
- install youtube-dl
on a Mac: brew install youtube-dl
- install youtube-dl <br />
on a Mac: brew install youtube-dl <br />
on any OS: sudo pip install --upgrade youtube_dl
- install a context-menu extension in your browser
- install a context-menu extension in your browser <br />
e.g. Context Menus for Chrome https://goo.gl/8hgwuB
- add a custom action for links, which sends the URL to
http://localhost:8012/q=%s
- add a custom action for links, which sends the URL to <br />
http://localhost:8012/q=%s <br />
where "%s" is the variable name for the selected URL


## How to use ##
- start this script in a shell window:
- start this script in a shell window: <br />
youda.py 8009 ~/Downloads/youtube
- in your browser, right-click in a YouTube link and
- in your browser, right-click in a YouTube link and <br />
select custom context menu item you've added
- this script will catch the URL and call youtube-dl with it
- do not abort the script until it finishes
14 changes: 7 additions & 7 deletions youda.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,19 @@ def help(self):
print("""
How to setup:
- download this script to your computer
- install youtube-dl <br/>
on a Mac: brew install youtube-dl <br/>
- install youtube-dl
on a Mac: brew install youtube-dl
on any OS: sudo pip install --upgrade youtube_dl
- install a context-menu extension in your browser <br/>
e.g. Context Menus for Chrome https://goo.gl/8hgwuB <br/>
- install a context-menu extension in your browser
e.g. Context Menus for Chrome https://goo.gl/8hgwuB
- add a custom action for links, which sends the URL to
http://localhost:8012/q=%s <br/>
http://localhost:8012/q=%s
where "%s" is the variable name for the selected URL
How to use:
- start this script in a shell window: <br/>
- start this script in a shell window:
youda.py 8009 ~/Downloads/youtube
- in your browser, right-click in a YouTube link and <br/>
- in your browser, right-click in a YouTube link and
select custom context menu item you've added
- this script will catch the URL and call youtube-dl with it
- do not abort the script until it finishes
Expand Down

0 comments on commit a974889

Please sign in to comment.