Nick Ficano commited on
Commit
4fda591
·
1 Parent(s): 2d8a595

updated README

Browse files
Files changed (1) hide show
  1. README.rst +3 -3
README.rst CHANGED
@@ -30,7 +30,7 @@ Using PIP via PyPI
30
 
31
  .. code:: bash
32
 
33
- pip install pytube==0.1.16
34
 
35
  Using PIP via Github
36
 
@@ -74,7 +74,7 @@ Usage Example
74
  yt = YouTube()
75
 
76
  # Set the video URL.
77
- yt.url = "http://www.youtube.com/watch?v=Ik-RsDGPI5Y"
78
 
79
  # Once set, you can see all the codec and quality options YouTube has made
80
  # available for the perticular video by printing videos.
@@ -101,7 +101,7 @@ Usage Example
101
  #Pulp Fiction - Dancing Scene [HD]
102
 
103
  # set the filename:
104
- yt.filename = 'Dancing Scene from Pulp Fiction'
105
 
106
  # You can also filter the criteria by filetype.
107
 
 
30
 
31
  .. code:: bash
32
 
33
+ pip install pytube
34
 
35
  Using PIP via Github
36
 
 
74
  yt = YouTube()
75
 
76
  # Set the video URL.
77
+ yt.from_url("http://www.youtube.com/watch?v=Ik-RsDGPI5Y")
78
 
79
  # Once set, you can see all the codec and quality options YouTube has made
80
  # available for the perticular video by printing videos.
 
101
  #Pulp Fiction - Dancing Scene [HD]
102
 
103
  # set the filename:
104
+ yt.set_filename('Dancing Scene from Pulp Fiction')
105
 
106
  # You can also filter the criteria by filetype.
107