cdown/yturl


YouTube videos on the command line

License: Other

Language: Python

Keywords: public-domain, python, suckless, video, video-downloader, youtube, youtube-dl, youtube-downloader, youtube-url, youtube-video


Linux and Mac tests Windows tests LGTM Coverage Dependencies

yturl gets direct media URLs to YouTube media, freeing you having to view them in your browser.

yturl is still maintained, but is pretty much "done". Outside of changes to match YouTube API changes, bug fixes, and support for newer Python versions, development is complete.

Usage

By default, yturl prints the media URL to standard output.

$ yturl 'http://www.youtube.com/watch?v=8TCxE0bWQeQ'
Using itag 43.
http://r2---sn-uphxqvujvh-30al.googlevideo.com/videoplayback?source=[...]

You can use this URL in the media player of your choice. For media players that can be launched from the command line, this typically means that you can do something like the following to watch it in your preferred player:

$ <your-preferred-player> "$(yturl 'http://www.youtube.com/watch?v=8TCxE0bWQeQ')"

There is also a -q option for controlling the quality (for example -q high), see yturl --help for more information.

Installation

To install the latest stable version from PyPi:

$ pip install -U yturl

To install the latest development version directly from GitHub:

$ pip install -U git+https://github.com/cdown/yturl.git@develop

Testing

$ pip install tox
$ tox
..........
----------------------------------------------------------------------
Ran 10 tests in 4.088s
OK

Project Statistics

Sourcerank 6
Repository Size 277 KB
Stars 197
Forks 17
Watchers 6
Open issues 1
Dependencies 6
Contributors 2
Tags 31
Created
Last updated
Last pushed

Top Contributors See all

Chris Down Farzad Ghanei

Packages Referencing this Repo

yturl
Gets direct media URLs to YouTube media
Latest release 2.0.2 - Updated - 197 stars

Recent Tags See all

2.0.2 February 11, 2018
2.0.1 April 22, 2016
2.0.0 January 24, 2016
1.20.0 September 08, 2015
1.19.0 September 05, 2015
1.18.0 July 14, 2015
v1.16 February 02, 2015
1.17.0 January 17, 2015
1.16.0 January 17, 2015
1.15.5 January 17, 2015
1.15.4 January 17, 2015
1.15.3 January 17, 2015
1.15.2 January 17, 2015
1.15.1 January 17, 2015
1.15.0 January 17, 2015

Something wrong with this page? Make a suggestion

Last synced: 2020-01-04 14:15:21 UTC

Login to resync this repository