diff --git a/docker/crawler/match_live_stream.py b/docker/crawler/match_live_stream.py index af4fb5d..02dbca3 100644 --- a/docker/crawler/match_live_stream.py +++ b/docker/crawler/match_live_stream.py @@ -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) "