File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,7 @@ def sendimg_or_video_immediately(
6060 raise exceptions .InvalidPhoneNumber ("Invalid Phone Number." )
6161
6262 web .open (f"https://web.whatsapp.com/send?phone={ phone_no } " )
63- time .sleep (4 )
64- time .sleep (wait_time - 4 )
65- (ps_x , ps_y ) = pg .size ()
66- as_x = ps_x / 1920
67- as_y = ps_y / 1080
63+ time .sleep (wait_time )
6864 core .find_link ()
6965 time .sleep (1 )
7066 core .find_photo_or_video ()
@@ -102,11 +98,7 @@ def sendwhatdoc_immediately(
10298 raise exceptions .InvalidPhoneNumber ("Invalid Phone Number." )
10399
104100 web .open (f"https://web.whatsapp.com/send?phone={ phone_no } " )
105- time .sleep (4 )
106- time .sleep (wait_time - 4 )
107- (ps_x , ps_y ) = pg .size ()
108- as_x = ps_x / 1920
109- as_y = ps_y / 1080
101+ time .sleep (wait_time )
110102 core .find_link ()
111103 time .sleep (1 )
112104 core .find_document ()
You can’t perform that action at this time.
0 commit comments