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
  • 277
    Views
  • 5
    Participants
Last reply from:
Streamix Ph

Trending Topics

Online now

Members online
1,265
Guests online
2,335
Total visitors
3,600

Forum statistics

Threads
2,286,781
Posts
29,040,330
Members
1,217,166
Latest member
KingBobjaja
Back
Top