parse-everything 1.1.1__tar.gz → 1.1.2__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.2
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,8 +75,8 @@ 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,
78
+ target_url="https://parse-everything.com/demo/cloudflare",
79
+ auto_detect=True,
80
80
  render_js=False # Handled via ultra-fast TLS impersonation in ~300ms
81
81
  )
82
82
 
@@ -37,8 +37,8 @@ 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,
40
+ target_url="https://parse-everything.com/demo/cloudflare",
41
+ auto_detect=True,
42
42
  render_js=False # Handled via ultra-fast TLS impersonation in ~300ms
43
43
  )
44
44
 
@@ -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"):
@@ -31,7 +31,7 @@ class ParseEverything:
31
31
  self,
32
32
  target_url: str,
33
33
  render_js: bool = False,
34
- bypass_cloudflare: 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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: parse-everything
3
- Version: 1.1.1
3
+ Version: 1.1.2
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,8 +75,8 @@ 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,
78
+ target_url="https://parse-everything.com/demo/cloudflare",
79
+ auto_detect=True,
80
80
  render_js=False # Handled via ultra-fast TLS impersonation in ~300ms
81
81
  )
82
82
 
@@ -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.2",
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.",