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?
 
🤦🤦
{
"data": {
"count": 2,
"stream": "You do not have permission to view the full content of this post. Log in or register now.",
"streams": [
"You do not have permission to view the full content of this post. Log in or register now.",
"You do not have permission to view the full content of this post. Log in or register now."
]
},
"elapsed": 20.64,
"success": true,
"url": "You do not have permission to view the full content of this post. Log in or register now."
}
 

About this Thread

  • 9
    Replies
  • 408
    Views
  • 7
    Participants
Last reply from:
STAR OF VENUS

Trending Topics

Online now

Members online
426
Guests online
3,740
Total visitors
4,166

Forum statistics

Threads
2,310,021
Posts
29,154,020
Members
1,188,780
Latest member
tangtangsahur
Back
Top