fix: accept semicolon jsonp in live stream parser
This commit is contained in:
@@ -18,7 +18,7 @@ FETCH_BATCH_SIZE = 30
|
||||
FETCH_TIMEOUT = 15
|
||||
FETCH_ERROR_LIMIT = 500
|
||||
ROOM_ID_RE = re.compile(r"/room/(\d+)")
|
||||
DETAIL_JSONP_RE = re.compile(r"detail\((\{.*\})\)\s*$", re.S)
|
||||
DETAIL_JSONP_RE = re.compile(r"detail\((\{.*\})\)\s*;?\s*$", re.S)
|
||||
DEFAULT_HEADERS = {
|
||||
"User-Agent": (
|
||||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
|
||||
|
||||
Reference in New Issue
Block a user