parse-everything 1.1.1__tar.gz → 1.1.3__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: parse-everything
3
- Version: 1.1.1
3
+ Version: 1.1.3
4
4
  Summary: Official Python SDK for Parse Everything — Bypass Cloudflare Turnstile, Akamai & DataDome with TLS JA3/JA4 impersonation, GET/POST forwarding & 0-credit failure guarantee.
5
5
  Home-page: https://parse-everything.com
6
6
  Author: Parse Everything
@@ -75,9 +75,9 @@ from parse_everything import ParseEverything
75
75
  client = ParseEverything(api_key="pe_live_YOUR_API_KEY")
76
76
 
77
77
  result = client.scrape(
78
- target_url="https://nopecha.com/demo/cloudflare",
79
- bypass_cloudflare=True,
80
- render_js=False # Handled via ultra-fast TLS impersonation in ~300ms
78
+ target_url="https://parse-everything.com/demo/cloudflare",
79
+ country_code="US",
80
+ render_js=True # Full browser DOM execution with Turnstile solving
81
81
  )
82
82
 
83
83
  print("HTTP Status:", result["data"]["http_status"])
@@ -37,9 +37,9 @@ from parse_everything import ParseEverything
37
37
  client = ParseEverything(api_key="pe_live_YOUR_API_KEY")
38
38
 
39
39
  result = client.scrape(
40
- target_url="https://nopecha.com/demo/cloudflare",
41
- bypass_cloudflare=True,
42
- render_js=False # Handled via ultra-fast TLS impersonation in ~300ms
40
+ target_url="https://parse-everything.com/demo/cloudflare",
41
+ country_code="US",
42
+ render_js=True # Full browser DOM execution with Turnstile solving
43
43
  )
44
44
 
45
45
  print("HTTP Status:", result["data"]["http_status"])
@@ -18,7 +18,7 @@ class ParseEverything:
18
18
  Usage:
19
19
  from parse_everything import ParseEverything
20
20
  client = ParseEverything(api_key="pe_live_...")
21
- res = client.scrape("https://nopecha.com/demo/cloudflare")
21
+ res = client.scrape("https://parse-everything.com/demo/cloudflare")
22
22
  print(res['data']['page_title'])
23
23
  """
24
24
  def __init__(self, api_key: str, base_url: str = "https://parse-everything.com"):
@@ -30,8 +30,8 @@ class ParseEverything:
30
30
  def scrape(
31
31
  self,
32
32
  target_url: str,
33
- render_js: bool = False,
34
- bypass_cloudflare: bool = True,
33
+ render_js: bool = True,
34
+ bypass_cloudflare: Optional[bool] = None,
35
35
  country_code: str = "US",
36
36
  extract_text: bool = False,
37
37
  selectors: Optional[Dict[str, str]] = None,
@@ -57,12 +57,14 @@ class ParseEverything:
57
57
  "target_url": target_url,
58
58
  "method": target_method,
59
59
  "render_js": render_js,
60
- "bypass_cloudflare": bypass_cloudflare,
60
+
61
61
  "auto_detect": auto_detect,
62
62
  "country_code": country_code,
63
63
  "extract_text": extract_text,
64
64
  "timeout": timeout
65
65
  }
66
+ if bypass_cloudflare is not None:
67
+ payload["bypass_cloudflare"] = bypass_cloudflare
66
68
  if target_body is not None:
67
69
  payload["body"] = target_body
68
70
  if selectors:
@@ -119,7 +121,7 @@ class ParseEverything:
119
121
  def batch(
120
122
  self,
121
123
  target_urls: List[str],
122
- render_js: bool = False,
124
+ render_js: bool = True,
123
125
  country_code: str = "US",
124
126
  webhook_url: Optional[str] = None
125
127
  ) -> Dict[str, Any]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: parse-everything
3
- Version: 1.1.1
3
+ Version: 1.1.3
4
4
  Summary: Official Python SDK for Parse Everything — Bypass Cloudflare Turnstile, Akamai & DataDome with TLS JA3/JA4 impersonation, GET/POST forwarding & 0-credit failure guarantee.
5
5
  Home-page: https://parse-everything.com
6
6
  Author: Parse Everything
@@ -75,9 +75,9 @@ from parse_everything import ParseEverything
75
75
  client = ParseEverything(api_key="pe_live_YOUR_API_KEY")
76
76
 
77
77
  result = client.scrape(
78
- target_url="https://nopecha.com/demo/cloudflare",
79
- bypass_cloudflare=True,
80
- render_js=False # Handled via ultra-fast TLS impersonation in ~300ms
78
+ target_url="https://parse-everything.com/demo/cloudflare",
79
+ country_code="US",
80
+ render_js=True # Full browser DOM execution with Turnstile solving
81
81
  )
82
82
 
83
83
  print("HTTP Status:", result["data"]["http_status"])
@@ -9,7 +9,7 @@ if os.path.exists(readme_path):
9
9
 
10
10
  setup(
11
11
  name="parse-everything",
12
- version="1.1.1",
12
+ version="1.1.3",
13
13
  author="Parse Everything",
14
14
  author_email="support@rawmind.app",
15
15
  description="Official Python SDK for Parse Everything — Bypass Cloudflare Turnstile, Akamai & DataDome with TLS JA3/JA4 impersonation, GET/POST forwarding & 0-credit failure guarantee.",