diff --git a/maigret/checking.py b/maigret/checking.py index 549b596..82256ef 100644 --- a/maigret/checking.py +++ b/maigret/checking.py @@ -684,6 +684,7 @@ async def maigret( # setup parallel executor executor: Optional[AsyncExecutor] = None if no_progressbar: + # TODO: switch to AsyncioProgressbarQueueExecutor with progress object mock executor = AsyncioSimpleExecutor(logger=logger) else: executor = AsyncioProgressbarQueueExecutor( diff --git a/maigret/resources/data.json b/maigret/resources/data.json index 10c08bb..79513ee 100644 --- a/maigret/resources/data.json +++ b/maigret/resources/data.json @@ -2417,16 +2417,28 @@ "cz", "webcam" ], + "headers": { + "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:133.0) Gecko/20100101 Firefox/133.0", + "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", + "Accept-Language": "en-US,en;q=0.5", + "Referer": "https://pt.bongacams.com/", + "Upgrade-Insecure-Requests": "1", + "Sec-Fetch-Dest": "document", + "Sec-Fetch-Mode": "navigate", + "Sec-Fetch-Site": "same-origin", + "Sec-Fetch-User": "?1" + }, "absenceStrs": [ - "" ], "presenseStrs": [ "