PlaywrightCapture 1.40.6__tar.gz → 1.40.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PlaywrightCapture
3
- Version: 1.40.6
3
+ Version: 1.40.7
4
4
  Summary: A simple library to capture websites using playwright
5
5
  License-Expression: BSD-3-Clause
6
6
  License-File: LICENSE
@@ -1365,7 +1365,8 @@ class Capture():
1365
1365
  not_local, message = self.__check_local_url(request.url)
1366
1366
  if not_local:
1367
1367
  await route.continue_()
1368
- await route.fulfill(status=404, content_type="text/plain", body=message)
1368
+ else:
1369
+ await route.fulfill(status=404, content_type="text/plain", body=message)
1369
1370
 
1370
1371
  if self.only_global_lookup:
1371
1372
  # routes are processed in reverse order, the latest one in this list is processed first
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "PlaywrightCapture"
3
- version = "1.40.6"
3
+ version = "1.40.7"
4
4
  description = "A simple library to capture websites using playwright"
5
5
  authors = [
6
6
  {name="Raphaël Vinot", email= "raphael.vinot@circl.lu"}