PlaywrightCapture 1.22.8__tar.gz → 1.23.0__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.1
2
2
  Name: PlaywrightCapture
3
- Version: 1.22.8
3
+ Version: 1.23.0
4
4
  Summary: A simple library to capture websites using playwright
5
5
  Home-page: https://github.com/Lookyloo/PlaywrightCapture
6
6
  License: BSD-3-Clause
@@ -26,7 +26,7 @@ Requires-Dist: dateparser (>=1.2.0,<2.0.0)
26
26
  Requires-Dist: playwright (>=1.41.1,<2.0.0)
27
27
  Requires-Dist: playwright-stealth (>=1.0.6,<2.0.0)
28
28
  Requires-Dist: pydub (>=0.25.1,<0.26.0) ; extra == "recaptcha"
29
- Requires-Dist: pytz (>=2023.3.post1,<2024.0) ; python_version < "3.9"
29
+ Requires-Dist: pytz (>=2024.1,<2025.0) ; python_version < "3.9"
30
30
  Requires-Dist: requests[socks] (>=2.31.0,<3.0.0) ; extra == "recaptcha"
31
31
  Requires-Dist: setuptools (>=69.0.3,<70.0.0)
32
32
  Requires-Dist: tzdata (>=2023.4,<2024.0)
@@ -26,7 +26,7 @@ from bs4 import BeautifulSoup
26
26
  from charset_normalizer import from_bytes
27
27
  from playwright.async_api import async_playwright, Frame, Error, Page, Download
28
28
  from playwright.async_api import TimeoutError as PlaywrightTimeoutError
29
- from playwright_stealth import stealth_async # type: ignore[import]
29
+ from playwright_stealth import stealth_async # type: ignore[import-untyped]
30
30
  from w3lib.html import strip_html5_whitespace
31
31
  from w3lib.url import canonicalize_url, safe_url_string
32
32
 
@@ -46,8 +46,8 @@ if TYPE_CHECKING:
46
46
  BROWSER = Literal['chromium', 'firefox', 'webkit']
47
47
 
48
48
  try:
49
- import pydub # type: ignore[import]
50
- from speech_recognition import Recognizer, AudioFile # type: ignore[import]
49
+ import pydub # type: ignore[import-untyped]
50
+ from speech_recognition import Recognizer, AudioFile # type: ignore[import-untyped]
51
51
  CAN_SOLVE_CAPTCHA = True
52
52
  except ImportError:
53
53
  CAN_SOLVE_CAPTCHA = False
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "PlaywrightCapture"
3
- version = "1.22.8"
3
+ version = "1.23.0"
4
4
  description = "A simple library to capture websites using playwright"
5
5
  authors = ["Raphaël Vinot <raphael.vinot@circl.lu>"]
6
6
  license = "BSD-3-Clause"
@@ -26,7 +26,7 @@ w3lib = "^2.1.2"
26
26
  requests = {extras = ["socks"], version = "^2.31.0"}
27
27
  pydub = {version = "^0.25.1", optional = true}
28
28
  SpeechRecognition = {version = "^3.10.1", optional = true}
29
- pytz = {"version" = "^2023.3.post1", python = "<3.9"}
29
+ pytz = {"version" = "^2024.1", python = "<3.9"}
30
30
  tzdata = "^2023.4"
31
31
  playwright-stealth = "^1.0.6"
32
32
  setuptools = "^69.0.3"
@@ -43,7 +43,7 @@ pytest = "^7.4.4"
43
43
  mypy = "^1.8.0"
44
44
  types-dateparser = "^1.1.4.20240106"
45
45
  types-requests = "^2.31.0.20240125"
46
- types-pytz = "^2023.3.1.1"
46
+ types-pytz = "^2023.4.0.20240130"
47
47
 
48
48
 
49
49
  [build-system]