Taylor Fox Dahlin commited on
Commit
9e1bc1b
·
unverified ·
1 Parent(s): 4febe75

Readme update (#814)

Browse files

* Updated installation instructions for pip to reflect better practice.

Files changed (1) hide show
  1. README.md +14 -8
README.md CHANGED
@@ -20,6 +20,20 @@ Ping @ronncc if you would like to help out
20
  # pytube
21
  *pytube* is a very serious, lightweight, dependency-free Python library (and command-line utility) for downloading YouTube Videos.
22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  ## Description
24
  YouTube is the most popular video-sharing platform in the world and as a hacker you may encounter a situation where you want to script something to download videos. For this I present to you *pytube*.
25
 
@@ -53,14 +67,6 @@ Finally *pytube* also includes a command-line utility, allowing you to quickly d
53
  - Extensively Documented Source Code
54
  - No Third-Party Dependencies
55
 
56
- ## Installation
57
-
58
- Download using pip via pypi.
59
-
60
- ```bash
61
- $ pip install pytube
62
- ```
63
-
64
  ## Getting started
65
 
66
  Let's begin with showing how easy it is to download a video with pytube:
 
20
  # pytube
21
  *pytube* is a very serious, lightweight, dependency-free Python library (and command-line utility) for downloading YouTube Videos.
22
 
23
+ ## Installation
24
+
25
+ To install from pypi with pip:
26
+
27
+ ```bash
28
+ $ python -m pip install pytube
29
+ ```
30
+
31
+ Sometime, the pypi release becomes slightly outdated. To install from the source with pip:
32
+
33
+ ```bash
34
+ $ python -m pip install git+https://github.com/nficano/pytube
35
+ ```
36
+
37
  ## Description
38
  YouTube is the most popular video-sharing platform in the world and as a hacker you may encounter a situation where you want to script something to download videos. For this I present to you *pytube*.
39
 
 
67
  - Extensively Documented Source Code
68
  - No Third-Party Dependencies
69
 
 
 
 
 
 
 
 
 
70
  ## Getting started
71
 
72
  Let's begin with showing how easy it is to download a video with pytube: