check-rkn 1.2.0__tar.gz → 1.2.1__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: check-rkn
3
- Version: 1.2.0
3
+ Version: 1.2.1
4
4
  Summary: Library that check blocked website on blocklist.rkn.gov.ru
5
5
  Project-URL: Repository, https://codeberg.org/IvanyaK/check-rkn
6
6
  Author-email: IvanyaK <ivanrus200519@gmail.com>
@@ -14,7 +14,6 @@ def solve_captcha(api_key: str, image_captcha: str) -> str:
14
14
  solver.set_soft_id(0)
15
15
 
16
16
  captcha_text = solver.solve_and_return_solution(image_captcha)
17
- print("\033[H\033[J", end="")
18
17
 
19
18
  if captcha_text != 0:
20
19
  return captcha_text
@@ -58,6 +57,8 @@ def check_website(url: str, api_key: str) -> bool:
58
57
 
59
58
  click_button = browser.find_element(By.XPATH, '//*[@id="send_but2"]')
60
59
  click_button.click()
60
+
61
+ print("\033c\033[3J", end="")
61
62
 
62
63
  try:
63
64
  browser.find_element(
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "check-rkn"
3
- version = "1.2.0"
3
+ version = "1.2.1"
4
4
  description = "Library that check blocked website on blocklist.rkn.gov.ru"
5
5
  authors = [{ name = "IvanyaK", email = "ivanrus200519@gmail.com" }]
6
6
  requires-python = "~=3.10"
File without changes
File without changes
File without changes
File without changes