This repository was archived by the owner on Jun 30, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 10 files changed +1772
-10
lines changed Expand file tree Collapse file tree 10 files changed +1772
-10
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -199,6 +199,19 @@ async def main():
199199
200200
201201
202+ comments = Comments ("_ZdsmLgCVdU" )
203+
204+ await comments .getNextComments ()
205+ print (len (comments .comments ["result" ]))
206+
207+ while len (comments .comments ["result" ]) < 100 :
208+ await comments .getNextComments ()
209+ print (len (comments .comments ["result" ]))
210+ print ("Found all comments" )
211+
212+
213+
214+
202215 '''
203216 You may add/omit the optional parameters according to your requirement & use case.
204217 '''
Original file line number Diff line number Diff line change 55
66setuptools .setup (
77 name = "youtube-search-python" ,
8- version = "1.5.3 " ,
8+ version = "1.6.0 " ,
99 author = "Hitesh Kumar Saini" ,
1010 license = 'MIT' ,
1111 author_email = "saini123hitesh@gmail.com" ,
Original file line number Diff line number Diff line change 201201
202202
203203
204+ comments = Comments ("_ZdsmLgCVdU" )
205+
206+ print (len (comments .comments ["result" ]))
207+
208+ while len (comments .comments ["result" ]) < 100 :
209+ comments .getNextComments ()
210+ print (len (comments .comments ["result" ]))
211+ print ("Found all comments" )
212+
204213
205214'''
206215You may add/omit the optional parameters according to your requirement & use case.
You can’t perform that action at this time.
0 commit comments