Palash Goel
commited on
Commit
·
82e4ebb
1
Parent(s):
7b27fb4
Added show-available and empty documentation.
Browse files- README.rst +22 -0
README.rst
CHANGED
@@ -148,6 +148,28 @@ Same thing for specifying a resolution:
|
|
148 |
.. code:: bash
|
149 |
|
150 |
$ pytube -r 720p http://www.youtube.com/watch?v=Ik-RsDGPI5Y
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
|
152 |
|
153 |
You can also specify a download file path (``-p`` or ``--path=``):
|
|
|
148 |
.. code:: bash
|
149 |
|
150 |
$ pytube -r 720p http://www.youtube.com/watch?v=Ik-RsDGPI5Y
|
151 |
+
|
152 |
+
When run without a resolution or extension, it shows a list of available formats to download
|
153 |
+
|
154 |
+
.. code:: bash
|
155 |
+
|
156 |
+
$ pytube http://www.youtube.com/watch?v=Ik-RsDGPI5Y
|
157 |
+
Resolution Extension
|
158 |
+
----------------------------
|
159 |
+
0 3gp 144p
|
160 |
+
1 3gp 240p
|
161 |
+
2 mp4 360p
|
162 |
+
3 mp4 720p
|
163 |
+
4 webm 360p
|
164 |
+
Enter choice:
|
165 |
+
|
166 |
+
|
167 |
+
You can see a list of available formats by passing the ``-s`` (or ``--show-available``) flag
|
168 |
+
|
169 |
+
.. code:: bash
|
170 |
+
|
171 |
+
$ pytube -s http://www.youtube.com/watch?v=Ik-RsDGPI5Y
|
172 |
+
|
173 |
|
174 |
|
175 |
You can also specify a download file path (``-p`` or ``--path=``):
|