Skip to content

Commit

Permalink
push and release v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MayankFawkes committed May 10, 2021
1 parent 5b786a7 commit 45ac3f4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
15 changes: 9 additions & 6 deletions examples/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@
sys.path.insert(0,'..')

import youtube as youtube
from youtube import Search
from youtube import Search, Video

r = Search("a kermit song")
streams = Video("https://www.youtube.com/watch?v=B6_iQvaIjXw").streams
for n in streams:
print(n)
print(n.url)
print("\n\n")
print(streams.ffresolution(720).av)

print(r.get_dict)

y = youtube.Video("https://www.youtube.com/watch?v=5sFDOiGyAG8")
print(y)
# y = youtube.Video("https://www.youtube.com/watch?v=5sFDOiGyAG8")
# print(y)

if __name__ == '__main__':
print(youtube.__version__)
10 changes: 10 additions & 0 deletions release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

# Changlogs

## v2.0.0

* bug fix
* now ``search`` object is iterable
* ``--connections`` added in cli to increase or decrease the no. of connections in download
* downloading socket timeout increase to ``15`` seconds
* added ``GoogleReCaptchaError`` in exceptions

0 comments on commit 45ac3f4

Please sign in to comment.