GitXplorerGitXplorer
c

yturl

public
224 stars
16 forks
5 issues

Commits

List of commits on branch develop.
Unverified
472cefcbe2a1c8a0c04005bf12f4bdbbdc777a60

readme: Mention youtube-dl

ccdown committed 4 years ago
Unverified
5b29869c0c7cc2d5fe45576314da38304ce83809

Bump httpretty version

ccdown committed 5 years ago
Unverified
70c61de301870be06140435b76d5967b62f907f5

travis: Don't run with --system-site-packages on OSX

ccdown committed 5 years ago
Unverified
88a6e5d8368e3dd881aaeab5c8f1ecbc25ac527c

Remove mock requirement, we don't use it any more

ccdown committed 5 years ago
Unverified
39a2ba89bb5158309091a9f3c9fbb7d673da3a11

tests/requirements: Bump versions

ccdown committed 5 years ago
Unverified
61c0a32d0a19bb0ec4095c03c57559383451e708

Note streaming videos are unsupported

ccdown committed 5 years ago

README

The README file for this repository.

|travis| |lgtm| |coveralls| |libraries|

.. |travis| image:: https://img.shields.io/travis/cdown/yturl/develop.svg?label=tests :target: https://travis-ci.org/cdown/yturl :alt: Tests

.. |lgtm| image:: https://img.shields.io/lgtm/grade/python/github/cdown/yturl.svg?label=code%20quality :target: https://lgtm.com/projects/g/cdown/yturl/overview/ :alt: LGTM

.. |coveralls| image:: https://img.shields.io/coveralls/cdown/yturl/develop.svg?label=test%20coverage :target: https://coveralls.io/github/cdown/yturl?branch=develop :alt: Coverage

.. |libraries| image:: https://img.shields.io/librariesio/github/cdown/yturl.svg?label=dependencies :target: https://libraries.io/github/cdown/yturl :alt: Dependencies

As of 2020, yturl is unmaintained and unsupported. Users are suggested to migrate to youtube-dl.

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 :code:yturl --help for more information.

Installation

To install the latest stable version from PyPi:

.. code::

$ pip install -U yturl

To install the latest development version directly from GitHub:

.. code::

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

Testing

.. code::

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