Skip to content

Commit d06c39e

Browse files
authored
Merge pull request #1641 from unclecode/fix/serialize-proxy-config
Fix BrowserConfig proxy_config serialization
2 parents afc31e1 + a0c5f0f commit d06c39e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crawl4ai/async_configs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ def to_dict(self):
598598
"chrome_channel": self.chrome_channel,
599599
"channel": self.channel,
600600
"proxy": self.proxy,
601-
"proxy_config": self.proxy_config,
601+
"proxy_config": self.proxy_config.to_dict() if self.proxy_config else None,
602602
"viewport_width": self.viewport_width,
603603
"viewport_height": self.viewport_height,
604604
"accept_downloads": self.accept_downloads,

0 commit comments

Comments
 (0)