Skip to content

Commit 7cfa79a

Browse files
committed
Update an example
1 parent cb6fba7 commit 7cfa79a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/cdp_mode/raw_tiktok.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
from seleniumbase import SB
22

3-
with SB(uc=True, test=True, ad_block=True) as sb:
3+
with SB(uc=True, test=True, guest=True) as sb:
44
url = "https://www.tiktok.com/@startrek?lang=en"
55
sb.activate_cdp_mode(url)
6-
sb.sleep(2)
6+
sb.sleep(3)
77
print(sb.get_text('h2[data-e2e="user-bio"]'))
88
for i in range(54):
9-
sb.cdp.scroll_down(12)
9+
sb.scroll_down(12)
1010
sb.sleep(1)

0 commit comments

Comments
 (0)