Janusz Paszyński commited on
Commit
11b97fc
·
1 Parent(s): 8d0500d

- ported example in README to 3.4.1

Browse files
Files changed (1) hide show
  1. README.rst +2 -2
README.rst CHANGED
@@ -95,7 +95,7 @@ Usage Example
95
  # You can override this by manually setting the filename.
96
 
97
  # view the auto generated filename:
98
- print yt.filename
99
 
100
  #Pulp Fiction - Dancing Scene [HD]
101
 
@@ -113,7 +113,7 @@ Usage Example
113
  # notice that the list is ordered by lowest resolution to highest. If you
114
  # wanted the highest resolution available for a specific file type, you
115
  # can simply do:
116
- print yt.filter('mp4')[-1]
117
  #<Video: H.264 (.mp4) - 720p>
118
 
119
  # you can also get all videos for a given resolution
 
95
  # You can override this by manually setting the filename.
96
 
97
  # view the auto generated filename:
98
+ print(yt.filename)
99
 
100
  #Pulp Fiction - Dancing Scene [HD]
101
 
 
113
  # notice that the list is ordered by lowest resolution to highest. If you
114
  # wanted the highest resolution available for a specific file type, you
115
  # can simply do:
116
+ print(yt.filter('mp4')[-1])
117
  #<Video: H.264 (.mp4) - 720p>
118
 
119
  # you can also get all videos for a given resolution