Nick Ficano
commited on
Commit
·
0b85c2d
1
Parent(s):
a9b7dd5
removed installation section
Browse files- README.rst +3 -33
README.rst
CHANGED
@@ -37,47 +37,17 @@ YouTube is the most popular video-sharing platform in the world and as a hacker
|
|
37 |
|
38 |
Finally *pytube* also includes a command-line utility, allowing you to quickly download videos right from terminal.
|
39 |
|
40 |
-
Requirements
|
41 |
-
============
|
42 |
-
|
43 |
-
- Python 2.6+ (2.7 or 3.4+ recommended)
|
44 |
-
- pip (for some installation methods)
|
45 |
-
- git (for some installation methods)
|
46 |
-
|
47 |
Installation
|
48 |
============
|
49 |
|
50 |
-
|
51 |
-
will work for you:
|
52 |
-
|
53 |
-
Using PIP via PyPI
|
54 |
|
55 |
.. code:: bash
|
56 |
|
57 |
pip install pytube
|
58 |
|
59 |
-
Using pip via Github
|
60 |
-
|
61 |
-
.. code:: bash
|
62 |
-
|
63 |
-
pip install git+git://github.com/nficano/pytube#egg=pytube
|
64 |
-
|
65 |
-
Adding to your ``requirements.txt`` file (run ``pip install -r requirements.txt`` afterwards)
|
66 |
-
|
67 |
-
.. code:: bash
|
68 |
-
|
69 |
-
git+ssh://[email protected]/nficano/pytube#egg=pytube
|
70 |
-
|
71 |
-
Manually via git
|
72 |
-
|
73 |
-
.. code:: bash
|
74 |
-
|
75 |
-
git clone git://github.com/NFicano/pytube pytube
|
76 |
-
cd pytube
|
77 |
-
python setup.py install
|
78 |
-
|
79 |
|
80 |
-
Command-
|
81 |
==================
|
82 |
|
83 |
You can download a video by simply passing the ``-e`` (or ``--extension=``) switch and
|
@@ -109,7 +79,7 @@ and/or optionally choose the filename (``-f`` or ``--filename=``):
|
|
109 |
|
110 |
|
111 |
|
112 |
-
Library
|
113 |
=============
|
114 |
|
115 |
.. code:: python
|
|
|
37 |
|
38 |
Finally *pytube* also includes a command-line utility, allowing you to quickly download videos right from terminal.
|
39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
Installation
|
41 |
============
|
42 |
|
43 |
+
Download using pip via pypi.
|
|
|
|
|
|
|
44 |
|
45 |
.. code:: bash
|
46 |
|
47 |
pip install pytube
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
|
50 |
+
Command-line usage
|
51 |
==================
|
52 |
|
53 |
You can download a video by simply passing the ``-e`` (or ``--extension=``) switch and
|
|
|
79 |
|
80 |
|
81 |
|
82 |
+
Library usage
|
83 |
=============
|
84 |
|
85 |
.. code:: python
|