v1.93.3

spider-rs/spiderv1.93.3Apr 14, 2024by j-mendez

AI Summary

Adds screenshot functionality to the OpenAI pipeline and fixes Chrome proxy connections.

Key Highlights

  • Added screenshot JS execution after OpenAI effects
  • Fixed proxy server headless connecting

New Features

  • Screenshot capability in OpenAI pipeline

Full Release Notes

# Whats Changed

You can now take screenshots per step when using OpenAI to manipulate the page.
Connecting to a proxy on chrome headless remote is now fixed.

1.  feat(openai): add screenshot js execution after effects
1.  feat(openai): add deserialization error determination
1. chore(chrome): fix proxy server headless connecting

```rs
    use spider::configuration::GPTConfigs;
  
    let mut gpt_config: GPTConfigs = GPTConfigs::new_multi(
        "gpt-4-1106-preview",
        vec!["Search for Movies", "Extract the hrefs found."],
        3000,
    );

    gpt_config.screenshot = true;
    gpt_config.set_extra(true);
```

**Full Changelog**: https://github.com/spider-rs/spider/compare/v1.92.0...v1.93.3