sticker-convert 2.9.2__tar.gz → 2.9.3__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. {sticker_convert-2.9.2/src/sticker_convert.egg-info → sticker_convert-2.9.3}/PKG-INFO +2 -3
  2. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/requirements.txt +1 -2
  3. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/downloaders/download_kakao.py +3 -47
  4. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/version.py +1 -1
  5. {sticker_convert-2.9.2 → sticker_convert-2.9.3/src/sticker_convert.egg-info}/PKG-INFO +2 -3
  6. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert.egg-info/requires.txt +1 -2
  7. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/LICENSE +0 -0
  8. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/MANIFEST.in +0 -0
  9. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/README.md +0 -0
  10. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/pyproject.toml +0 -0
  11. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/setup.cfg +0 -0
  12. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/__init__.py +0 -0
  13. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/__main__.py +0 -0
  14. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/cli.py +0 -0
  15. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/converter.py +0 -0
  16. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/definitions.py +0 -0
  17. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/downloaders/__init__.py +0 -0
  18. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/downloaders/download_base.py +0 -0
  19. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/downloaders/download_line.py +0 -0
  20. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/downloaders/download_signal.py +0 -0
  21. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/downloaders/download_telegram.py +0 -0
  22. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/downloaders/download_viber.py +0 -0
  23. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui.py +0 -0
  24. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui_components/__init__.py +0 -0
  25. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui_components/frames/__init__.py +0 -0
  26. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui_components/frames/comp_frame.py +0 -0
  27. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui_components/frames/config_frame.py +0 -0
  28. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui_components/frames/control_frame.py +0 -0
  29. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui_components/frames/cred_frame.py +0 -0
  30. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui_components/frames/input_frame.py +0 -0
  31. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui_components/frames/output_frame.py +0 -0
  32. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui_components/frames/progress_frame.py +0 -0
  33. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui_components/frames/right_clicker.py +0 -0
  34. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui_components/gui_utils.py +0 -0
  35. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui_components/windows/__init__.py +0 -0
  36. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui_components/windows/advanced_compression_window.py +0 -0
  37. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui_components/windows/base_window.py +0 -0
  38. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui_components/windows/kakao_get_auth_window.py +0 -0
  39. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui_components/windows/line_get_auth_window.py +0 -0
  40. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui_components/windows/signal_get_auth_window.py +0 -0
  41. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/gui_components/windows/viber_get_auth_window.py +0 -0
  42. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/.github/FUNDING.yml +0 -0
  43. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/.gitignore +0 -0
  44. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/README.md +0 -0
  45. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers/Info.plist +0 -0
  46. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Info.plist +0 -0
  47. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Contents.json +0 -0
  48. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Contents.json +0 -0
  49. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Sticker 1.sticker/Contents.json +0 -0
  50. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Sticker 1.sticker/Sticker 1.png +0 -0
  51. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Sticker 2.sticker/Contents.json +0 -0
  52. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Sticker 2.sticker/Sticker 2.png +0 -0
  53. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Sticker 3.sticker/Contents.json +0 -0
  54. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Sticker 3.sticker/Sticker 3.png +0 -0
  55. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/App-Store-1024x1024pt.png +0 -0
  56. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Contents.json +0 -0
  57. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages-App-Store-1024x768pt.png +0 -0
  58. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages-iPad-67x50pt@2x.png +0 -0
  59. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages-iPad-Pro-74x55pt@2x.png +0 -0
  60. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages-iPhone-60x45pt@2x.png +0 -0
  61. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages-iPhone-60x45pt@3x.png +0 -0
  62. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages27x20pt@2x.png +0 -0
  63. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages27x20pt@3x.png +0 -0
  64. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages32x24pt@2x.png +0 -0
  65. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages32x24pt@3x.png +0 -0
  66. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/iPad-Settings-29pt@2x.png +0 -0
  67. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/iPhone-Settings-29pt@3x.png +0 -0
  68. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/iPhone-settings-29pt@2x.png +0 -0
  69. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers.xcodeproj/project.pbxproj +0 -0
  70. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -0
  71. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -0
  72. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers.xcodeproj/project.xcworkspace/xcuserdata/niklaspeterson.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  73. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/ios-message-stickers-template/stickers.xcodeproj/xcuserdata/niklaspeterson.xcuserdatad/xcschemes/xcschememanagement.plist +0 -0
  74. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/job.py +0 -0
  75. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/job_option.py +0 -0
  76. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/resources/NotoColorEmoji.ttf +0 -0
  77. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/resources/appicon.icns +0 -0
  78. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/resources/appicon.ico +0 -0
  79. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/resources/appicon.png +0 -0
  80. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/resources/compression.json +0 -0
  81. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/resources/emoji.json +0 -0
  82. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/resources/help.json +0 -0
  83. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/resources/input.json +0 -0
  84. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/resources/memdump_linux.sh +0 -0
  85. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/resources/memdump_windows.ps1 +0 -0
  86. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/resources/output.json +0 -0
  87. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/uploaders/__init__.py +0 -0
  88. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/uploaders/compress_wastickers.py +0 -0
  89. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/uploaders/upload_base.py +0 -0
  90. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/uploaders/upload_signal.py +0 -0
  91. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/uploaders/upload_telegram.py +0 -0
  92. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/uploaders/upload_viber.py +0 -0
  93. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/uploaders/xcode_imessage.py +0 -0
  94. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/utils/auth/get_kakao_auth.py +0 -0
  95. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/utils/auth/get_line_auth.py +0 -0
  96. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/utils/auth/get_signal_auth.py +0 -0
  97. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/utils/auth/get_viber_auth.py +0 -0
  98. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/utils/callback.py +0 -0
  99. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/utils/files/cache_store.py +0 -0
  100. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/utils/files/json_manager.py +0 -0
  101. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/utils/files/json_resources_loader.py +0 -0
  102. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/utils/files/metadata_handler.py +0 -0
  103. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/utils/files/run_bin.py +0 -0
  104. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/utils/files/sanitize_filename.py +0 -0
  105. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/utils/media/apple_png_normalize.py +0 -0
  106. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/utils/media/codec_info.py +0 -0
  107. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/utils/media/decrypt_kakao.py +0 -0
  108. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/utils/media/format_verify.py +0 -0
  109. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert/utils/url_detect.py +0 -0
  110. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert.egg-info/SOURCES.txt +0 -0
  111. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert.egg-info/dependency_links.txt +0 -0
  112. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert.egg-info/entry_points.txt +0 -0
  113. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/src/sticker_convert.egg-info/top_level.txt +0 -0
  114. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/tests/test_compression.py +0 -0
  115. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/tests/test_download.py +0 -0
  116. {sticker_convert-2.9.2 → sticker_convert-2.9.3}/tests/test_export.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sticker-convert
3
- Version: 2.9.2
3
+ Version: 2.9.3
4
4
  Summary: Convert (animated) stickers to/from WhatsApp, Telegram, Signal, Line, Kakao, Viber, iMessage. Written in Python.
5
5
  Author-email: laggykiller <chaudominic2@gmail.com>
6
6
  Maintainer-email: laggykiller <chaudominic2@gmail.com>
@@ -369,11 +369,11 @@ Requires-Dist: anyio~=4.4.0
369
369
  Requires-Dist: apngasm_python~=1.3.1
370
370
  Requires-Dist: av~=12.2.0
371
371
  Requires-Dist: beautifulsoup4~=4.12.3
372
- Requires-Dist: chromedriver_autoinstaller~=0.6.4
373
372
  Requires-Dist: rookiepy~=0.5.2
374
373
  Requires-Dist: imagequant~=1.1.1
375
374
  Requires-Dist: memory-tempfile~=2.2.3
376
375
  Requires-Dist: mergedeep~=1.3.4
376
+ Requires-Dist: mini-racer~=0.12.4
377
377
  Requires-Dist: numpy>=1.22.4
378
378
  Requires-Dist: Pillow~=10.4.0
379
379
  Requires-Dist: pyoxipng~=9.0.0
@@ -382,7 +382,6 @@ Requires-Dist: psutil~=6.0.0
382
382
  Requires-Dist: PyMemoryEditor~=1.5.22
383
383
  Requires-Dist: requests~=2.32.3
384
384
  Requires-Dist: rlottie_python~=1.3.6
385
- Requires-Dist: selenium~=4.22.0
386
385
  Requires-Dist: signalstickers-client-fork-laggykiller~=3.3.0.post2
387
386
  Requires-Dist: sqlcipher3-wheels~=0.5.2.post1
388
387
  Requires-Dist: tqdm~=4.66.4
@@ -3,11 +3,11 @@ anyio~=4.4.0
3
3
  apngasm_python~=1.3.1
4
4
  av~=12.2.0
5
5
  beautifulsoup4~=4.12.3
6
- chromedriver_autoinstaller~=0.6.4
7
6
  rookiepy~=0.5.2
8
7
  imagequant~=1.1.1
9
8
  memory-tempfile~=2.2.3
10
9
  mergedeep~=1.3.4
10
+ mini-racer~=0.12.4
11
11
  numpy>=1.22.4
12
12
  Pillow~=10.4.0
13
13
  pyoxipng~=9.0.0
@@ -16,7 +16,6 @@ psutil~=6.0.0
16
16
  PyMemoryEditor~=1.5.22
17
17
  requests~=2.32.3
18
18
  rlottie_python~=1.3.6
19
- selenium~=4.22.0
20
19
  signalstickers-client-fork-laggykiller~=3.3.0.post2
21
20
  sqlcipher3-wheels~=0.5.2.post1
22
21
  tqdm~=4.66.4
@@ -3,20 +3,13 @@ from __future__ import annotations
3
3
 
4
4
  import itertools
5
5
  import json
6
- import webbrowser
7
6
  from pathlib import Path
8
- from tempfile import TemporaryDirectory
9
7
  from typing import Any, List, Optional, Tuple, cast
10
8
  from urllib.parse import urlparse
11
9
 
12
- import chromedriver_autoinstaller # type: ignore
13
10
  import requests
14
11
  from bs4 import BeautifulSoup
15
- from selenium import webdriver
16
- from selenium.webdriver.chrome.options import Options
17
- from selenium.webdriver.common.by import By
18
- from selenium.webdriver.support import expected_conditions as EC
19
- from selenium.webdriver.support.wait import WebDriverWait
12
+ from py_mini_racer import MiniRacer
20
13
 
21
14
  from sticker_convert.downloaders.download_base import DownloadBase
22
15
  from sticker_convert.job_option import CredOption
@@ -43,17 +36,6 @@ class daumtools {
43
36
  }
44
37
  """
45
38
 
46
- HTMLPAGE = """
47
- <html>
48
- <body>
49
- <p id="p1"></p>
50
- <script>
51
- {}
52
- </script>
53
- </body>
54
- </html>
55
- """
56
-
57
39
 
58
40
  class MetadataKakao:
59
41
  @staticmethod
@@ -145,36 +127,10 @@ class DownloadKakao(DownloadBase):
145
127
  if "daumtools.web2app" not in js:
146
128
  return None, None
147
129
 
148
- js = js.replace(
149
- "daumtools.web2app",
150
- 'document.getElementById("p1").innerHTML = daumtools.web2app',
151
- )
152
130
  js = JSINJECT + js
153
131
 
154
- with TemporaryDirectory() as tempdir:
155
- html_page_path = Path(tempdir, "page.html")
156
- html_page = HTMLPAGE.format(js)
157
- with open(html_page_path, "w+") as f:
158
- f.write(html_page)
159
-
160
- try:
161
- chromedriver_autoinstaller.install()
162
- chrome_options = Options()
163
- chrome_options.add_argument("--headless") # type: ignore
164
- driver = webdriver.Chrome(options=chrome_options)
165
- driver.get(html_page_path.as_posix())
166
- wait = WebDriverWait(driver, 10)
167
- wait.until(EC.text_to_be_present_in_element((By.ID, "p1"), "kakaotalk")) # type: ignore
168
- kakao_url_elm = driver.find_element(By.ID, "p1")
169
- kakao_url = cast(str, kakao_url_elm.text) # type: ignore
170
- driver.close()
171
- except ValueError:
172
- webbrowser.open(html_page_path.as_posix())
173
- prompt = "Chrome not installed, using manual method.\n"
174
- prompt += "Please copy and paste the url you see in the browser"
175
- self.cb.put(("ask_str", (prompt,), None))
176
- kakao_url = cast(str, self.cb_return.get_response())
177
-
132
+ ctx = MiniRacer()
133
+ kakao_url = cast(str, ctx.eval(js))
178
134
  item_code = urlparse(kakao_url).path.split("/")[2]
179
135
 
180
136
  return pack_title, item_code
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env python3
2
2
 
3
- __version__ = "2.9.2"
3
+ __version__ = "2.9.3"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sticker-convert
3
- Version: 2.9.2
3
+ Version: 2.9.3
4
4
  Summary: Convert (animated) stickers to/from WhatsApp, Telegram, Signal, Line, Kakao, Viber, iMessage. Written in Python.
5
5
  Author-email: laggykiller <chaudominic2@gmail.com>
6
6
  Maintainer-email: laggykiller <chaudominic2@gmail.com>
@@ -369,11 +369,11 @@ Requires-Dist: anyio~=4.4.0
369
369
  Requires-Dist: apngasm_python~=1.3.1
370
370
  Requires-Dist: av~=12.2.0
371
371
  Requires-Dist: beautifulsoup4~=4.12.3
372
- Requires-Dist: chromedriver_autoinstaller~=0.6.4
373
372
  Requires-Dist: rookiepy~=0.5.2
374
373
  Requires-Dist: imagequant~=1.1.1
375
374
  Requires-Dist: memory-tempfile~=2.2.3
376
375
  Requires-Dist: mergedeep~=1.3.4
376
+ Requires-Dist: mini-racer~=0.12.4
377
377
  Requires-Dist: numpy>=1.22.4
378
378
  Requires-Dist: Pillow~=10.4.0
379
379
  Requires-Dist: pyoxipng~=9.0.0
@@ -382,7 +382,6 @@ Requires-Dist: psutil~=6.0.0
382
382
  Requires-Dist: PyMemoryEditor~=1.5.22
383
383
  Requires-Dist: requests~=2.32.3
384
384
  Requires-Dist: rlottie_python~=1.3.6
385
- Requires-Dist: selenium~=4.22.0
386
385
  Requires-Dist: signalstickers-client-fork-laggykiller~=3.3.0.post2
387
386
  Requires-Dist: sqlcipher3-wheels~=0.5.2.post1
388
387
  Requires-Dist: tqdm~=4.66.4
@@ -3,11 +3,11 @@ anyio~=4.4.0
3
3
  apngasm_python~=1.3.1
4
4
  av~=12.2.0
5
5
  beautifulsoup4~=4.12.3
6
- chromedriver_autoinstaller~=0.6.4
7
6
  rookiepy~=0.5.2
8
7
  imagequant~=1.1.1
9
8
  memory-tempfile~=2.2.3
10
9
  mergedeep~=1.3.4
10
+ mini-racer~=0.12.4
11
11
  numpy>=1.22.4
12
12
  Pillow~=10.4.0
13
13
  pyoxipng~=9.0.0
@@ -16,7 +16,6 @@ psutil~=6.0.0
16
16
  PyMemoryEditor~=1.5.22
17
17
  requests~=2.32.3
18
18
  rlottie_python~=1.3.6
19
- selenium~=4.22.0
20
19
  signalstickers-client-fork-laggykiller~=3.3.0.post2
21
20
  sqlcipher3-wheels~=0.5.2.post1
22
21
  tqdm~=4.66.4
File without changes