M3u8 scrāper using python

bat ganito response nya ts?
{"error":"cannot switch to a different thread"}
try mo lagay to sa taas
def super_scraper(target_url):
results = {}

remove mo to
playwright = sync_playwright().start()
browser = playwright.chromium.launch(...)

change mo ng ganito
sync_playwright() as p:
browser = p.chromium.launch(...)

etong line : time.sleep(5)
change mo sa : page.wait_for_timeout(5000)
 
try mo lagay to sa taas
def super_scraper(target_url):
results = {}

remove mo to
playwright = sync_playwright().start()
browser = playwright.chromium.launch(...)

change mo ng ganito
sync_playwright() as p:
browser = p.chromium.launch(...)

etong line : time.sleep(5)
change mo sa : page.wait_for_timeout(5000)
thanks ts, gumagana na. may na test ka na rin bang ibang sites?
 

About this Thread

  • 7
    Replies
  • 290
    Views
  • 5
    Participants
Last reply from:
Streamix Ph

Trending Topics

Online now

Members online
1,382
Guests online
2,460
Total visitors
3,842

Forum statistics

Threads
2,298,633
Posts
29,124,280
Members
1,202,411
Latest member
yossef209
Back
Top