phantomfetch 0.5.2__tar.gz → 0.5.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.3
2
2
  Name: phantomfetch
3
- Version: 0.5.2
3
+ Version: 0.5.3
4
4
  Summary: High-performance agentic web scraping library combining curl-cffi speed with Playwright browser capabilities
5
5
  Keywords: web-scraping,playwright,curl-cffi,async,browser-automation,http-client,agentic,anti-detection
6
6
  Author: CosmicBull
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "phantomfetch"
3
- version = "0.5.2"
3
+ version = "0.5.3"
4
4
  description = "High-performance agentic web scraping library combining curl-cffi speed with Playwright browser capabilities"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.13"
@@ -581,8 +581,7 @@ async def execute_actions(
581
581
  kwargs[k] = v
582
582
 
583
583
  img_bytes = await screenshot_ctx.screenshot(path=path, **kwargs)
584
- if not path:
585
- result.data = img_bytes
584
+ result.data = img_bytes
586
585
 
587
586
  case "wait_for_load":
588
587
  target_page = ctx if isinstance(ctx, Page) else ctx.page
File without changes