unrealon 2.0.15__py3-none-any.whl → 2.0.17__py3-none-any.whl

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: unrealon
3
- Version: 2.0.15
3
+ Version: 2.0.17
4
4
  Summary: Enterprise-grade web scraping platform with AI-powered automation and real-time orchestration capabilities
5
5
  Author-email: UnrealOn Team <team@unrealon.com>
6
6
  License: MIT
@@ -126,13 +126,13 @@ unrealon_driver/managers/update.py,sha256=-hohVxGXpj5bZ6ZTQN6NH1RK9Pd6GVzCMtu3GS
126
126
  unrealon_driver/utils/__init__.py,sha256=2Sz3eats5q4O2fDmefDuJt8M_zkN6xrS-9xXntWZWFc,168
127
127
  unrealon_driver/utils/time.py,sha256=Oxk1eicKeZl8ZWbf7gu1Ll716k6CpXmVj67FHSnPIsA,184
128
128
  unrealon_installer/__init__.py,sha256=JxA2hKat5E6R6nt-batuAc-2Cr0nO2M0XW0vOFU_xy0,333
129
- unrealon_installer/browser_fixes.py,sha256=I09aEMWwvN8-SbGJqJQHcnvsR4_JmjoiRKoyIqft4Rc,7754
130
- unrealon_installer/core.py,sha256=dvzyp5NmXo7916_I2Y23jbvJdZEhYReubj7CotIMZp8,4578
129
+ unrealon_installer/browser_fixes.py,sha256=f67T41e4vfOpDAu1hiDEZ5-BLJ663Bl7oWiHD83rR6E,8081
130
+ unrealon_installer/core.py,sha256=2BDDTrKthFtSqdRq0gSLkzN6lpMC9ER024wFMb1E5VQ,4584
131
131
  unrealon_installer/platform.py,sha256=NI6-j6674jLWjF0RFRDwXW01D0OueEhhijjevgmbAVs,3122
132
132
  unrealon_installer/templates.py,sha256=jU3Fznp_VfZedfWNutVzepGUv2QYI2Q4LM_j8H38CrU,1896
133
- unrealon-2.0.15.dist-info/LICENSE,sha256=eEH8mWZW49YMpl4Sh5MtKqkZ8aVTzKQXiNPEnvL14ns,1070
134
- unrealon-2.0.15.dist-info/METADATA,sha256=EsbaORdca-VhAD4a3_JHqlebUdHRs0CRGEdjj3moNUc,15718
135
- unrealon-2.0.15.dist-info/WHEEL,sha256=pL8R0wFFS65tNSRnaOVrsw9EOkOqxLrlUPenUYnJKNo,91
136
- unrealon-2.0.15.dist-info/entry_points.txt,sha256=tBJgozewpyuXznEYIsLwfE1s16VRjy3Wizhuyh26zb4,153
137
- unrealon-2.0.15.dist-info/top_level.txt,sha256=qN6Q72fe4_i8mTOhYcO3fhGa3g4dmBgvZOsqmK4j8D8,66
138
- unrealon-2.0.15.dist-info/RECORD,,
133
+ unrealon-2.0.17.dist-info/LICENSE,sha256=eEH8mWZW49YMpl4Sh5MtKqkZ8aVTzKQXiNPEnvL14ns,1070
134
+ unrealon-2.0.17.dist-info/METADATA,sha256=Hdzw-eDdLFzpvf_44XP9kk18UYHaGTmQ51ldx2CHPsQ,15718
135
+ unrealon-2.0.17.dist-info/WHEEL,sha256=pL8R0wFFS65tNSRnaOVrsw9EOkOqxLrlUPenUYnJKNo,91
136
+ unrealon-2.0.17.dist-info/entry_points.txt,sha256=tBJgozewpyuXznEYIsLwfE1s16VRjy3Wizhuyh26zb4,153
137
+ unrealon-2.0.17.dist-info/top_level.txt,sha256=qN6Q72fe4_i8mTOhYcO3fhGa3g4dmBgvZOsqmK4j8D8,66
138
+ unrealon-2.0.17.dist-info/RECORD,,
@@ -175,8 +175,13 @@ except Exception as e:
175
175
 
176
176
  # Playwright version
177
177
  try:
178
- result = subprocess.run([sys.executable, "-m", "playwright", "--version"],
178
+ # Try new way first
179
+ result = subprocess.run([sys.executable, "-c", "import playwright; print(getattr(playwright, '__version__', 'Unknown'))"],
179
180
  capture_output=True, text=True)
181
+ if "Unknown" in result.stdout:
182
+ # Fallback to CLI version
183
+ result = subprocess.run([sys.executable, "-m", "playwright", "--version"],
184
+ capture_output=True, text=True)
180
185
  info['playwright_version'] = result.stdout.strip()
181
186
  except:
182
187
  info['playwright_version'] = "Not installed"
@@ -14,21 +14,22 @@ from .templates import TemplateEngine
14
14
  from .browser_fixes import fix_browsers, diagnose_browsers
15
15
 
16
16
 
17
- def install_parser(parser_name: str, parser_path: str = ".") -> bool:
17
+ def install_parser(parser_path: str = ".") -> bool:
18
18
  """
19
19
  Install everything for a UnrealOn parser.
20
20
 
21
21
  Args:
22
- parser_name: Name like "upbit_concurrent"
23
22
  parser_path: Path to parser directory
24
23
 
25
24
  Returns:
26
25
  True if success, False if failed
27
26
  """
27
+ parser_dir = Path(parser_path).resolve()
28
+ parser_name = parser_dir.name # Auto-detect from directory name
29
+
28
30
  print(f"🚀 Installing {parser_name}")
29
31
  print("=" * 40)
30
32
 
31
- parser_dir = Path(parser_path).resolve()
32
33
  os.chdir(parser_dir)
33
34
 
34
35
  # 1. Apply platform fixes