From 45ac3f471706752a35596d902c4bbfd8e9d49519 Mon Sep 17 00:00:00 2001 From: Mayank Gupta Date: Mon, 10 May 2021 06:41:52 +0200 Subject: [PATCH] push and release v2.0.0 --- examples/test.py | 15 +++++++++------ release.md | 10 ++++++++++ 2 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 release.md diff --git a/examples/test.py b/examples/test.py index 275cc12..dab5686 100644 --- a/examples/test.py +++ b/examples/test.py @@ -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__) \ No newline at end of file diff --git a/release.md b/release.md new file mode 100644 index 0000000..2b1c071 --- /dev/null +++ b/release.md @@ -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