You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 24, 2025. It is now read-only.
Wait until the current URL of the page matches the target URL.
24
+
25
+
Parameters:
26
+
page (DrissionPage): The DrissionPage instance.
27
+
target_url (str): The target URL to wait for.
28
+
timeout (int): The maximum time to wait in seconds. Default is 30.
29
+
30
+
Returns:
31
+
bool: True if the current URL matches the target URL, False if the timeout is reached.
32
+
"""
33
+
start_time=time.time()
34
+
whiletime.time() -start_time<timeout:
35
+
ifpage.url==target_url:
36
+
returnTrue
37
+
time.sleep(0.5)
38
+
returnFalse
17
39
18
40
passw="Qing762.chy"
19
-
maildomain="mail.tm"
41
+
maildomain="mail.gw"
20
42
21
43
print(
22
44
"\nDue to the inner workings of the module, it is needed to browse programmatically.\nNEVER use the gui to navigate (Using your keybord and mouse) as it will causes POSSIBLE DETECTION!\nThe script will do the entire job itself.\n"
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,8 @@ The process begins by utilizing the [Mail.GW](https://mail.gw/) service to obtai
19
19
- Bypass Cloudflare's bot check.
20
20
- The script does all the job itself, including the captcha (which in the past you need to do it manually)
21
21
- Able to choose between email service provider
22
+
- No webdriver required
23
+
- Fast execution time
22
24
23
25
> **Warning**
24
26
> It is important to note that excessive usage of this tool may result in rate limiting by the API or, in severe cases, IP blocking. To avoid these potential consequences, it is recommended to limit the number of usage. (Maybe 5 times every 10 minutes?)
0 commit comments