Commit Graph

80 Commits

Author SHA1 Message Date
daijro e365d42a72 Merge pull request #351 from PierreMesure/patch-1
Use GITHUB_TOKEN if it exists to download Camoufox
2026-01-11 23:40:26 -06:00
daijro fa647700e9 Merge pull request #323 from dozed-dev/main
fix: return correct country from geoip database
2026-01-11 23:39:53 -06:00
daijro 90c916e708 Merge pull request #273 from joaoneves0/fix/xvfb-leak
fix: Ensure virtual_display is killed even if browser.close fails
2026-01-11 23:38:28 -06:00
daijro 2e98b57693 Merge pull request #251 from wv-opt-ai/patch-1
Fix cleanup on exception in sync_api __enter__
2026-01-11 23:37:49 -06:00
daijro b161c24fc9 Merge branch 'fix-ip-exception' into daijro-fixes 2026-01-11 23:34:54 -06:00
daijro 72833eeff9 Merge library fixes from coryking 2026-01-11 23:30:51 -06:00
Pierre 6e6f6736fb Use GITHUB_TOKEN if it exists to download Camoufox 2025-07-10 15:01:19 +02:00
dozed-dev b08a700314 fix: return correct country from geoip database
Return country instead of registered_country for iso code in get_geolocation
2025-06-08 19:53:51 +03:00
joaoneves0 fd1bb2f878 Ensure virtual display cleanup runs on browser close failure 2025-04-14 14:23:38 -03:00
wv-opt-ai e008580521 Fix cleanup on exception in sync_api __enter__
If an exception is raised in the synchronous api during the setup, super().__enter__ has been called but super().__exit__ will not get called, leading to asyncio runloop exceptions further down the line if one tries to create a new context. This commit catches the exception in order to clean up the super().__exit__ calls before reraising.
2025-03-21 16:35:11 +01:00
DeviousStoat 326e3a6976 Fix unbound exception ip function 2025-03-21 14:59:04 +01:00
Ven Om dcda82e94f Get IP fix 2025-03-06 15:30:25 +01:00
gsli97 c8eca598a9 unexpected keyword argument when using proxy-bypass with geoip=True
passing a proxy to camoufox with the "bypass"-argument while using geoip=True runs into an exception.
extending the class attributes fixes the problem on my local machine
2025-02-07 18:15:57 -08:00
daijro 0dabcb726d Add leak warning for block_images 0.4.11 #170 2025-01-29 03:32:40 -06:00
daijro a9b1934790 pythonlib: Add COOP toggle (workaround for #150) 0.4.10 2025-01-25 18:02:40 -06:00
Karim shoair 6fc8ee287e Make Geolocation frozen to use less memory
And it can be cached later if that intended in the future
2025-01-24 21:21:27 +02:00
Karim shoair b5a248707e Small performance boost on ip validation with caching 2025-01-24 21:19:29 +02:00
TimurKutsenko a44986e1a0 Remove print on start of virtual display 2025-01-05 10:23:55 +02:00
vihangatheturtle 133afbcdea Update launchServer.js 2024-12-17 17:58:18 +00:00
vihangatheturtle f5def98300 Update server.py 2024-12-17 17:57:50 +00:00
daijro e3d3dcd6e7 pythonlib: Look for assets in earlier releases #134 0.4.9 2024-12-13 01:01:20 -06:00
daijro 9a9e61f660 pythonlib: Force Browserforge 1.2.1+
Apify's models have been contaminated in recent releases. Browserforge 1.2.1 reverts to a earlier model.
https://github.com/daijro/browserforge/issues/17
2024-12-11 05:48:25 -06:00
daijro 2422d622eb pythonlib: Auto offset Canvas anti-aliasing 2024-12-09 08:27:05 -06:00
daijro 2b7334c24f pythonlib: Bump to 0.4.7
Bugfix release including the fix for #114 by iSuslov.
2024-12-08 21:28:24 -06:00
Ivan Suslov 685f2ff744 Fixes WebGL support for virtual display 2024-12-08 10:36:14 -05:00
daijro 4c52518dd2 pythonlib: Cleanup & bump to 0.4.6
- `camoufox test` will no longer highlight the cursor by default
- Fixed launch_options blocking async
- WebGL database cleanup & added ability to query all possible vendor/renderer pairs
2024-12-04 19:35:54 -06:00
daijro 31963aa83b pythonlib: Update WebGL sample database 2024-12-04 00:38:12 -06:00
daijro f6ef52a39b pythonlib: Support for main world evaluation 0.4.5 2024-12-03 22:58:08 -06:00
daijro 267b285faa pythonlib: Bump to 0.4.4 2024-11-28 22:30:57 -06:00
daijro 3210351527 pythonlib: Add parameter to only use user-specified fonts #109
Added a `custom_fonts_only` parameter to ignore the fonts in fonts.json.
2024-11-28 22:15:36 -06:00
daijro 30a92edb1b pythonlib: Do not override productSub #105 2024-11-28 21:36:49 -06:00
daijro cf3f8e6bde pythonlib: Fix WebGL injection causing crashing 0.4.4-beta 2024-11-25 00:20:27 -06:00
daijro 145b737069 pythonlib: [Rollback] Disable WebGL by default #90 0.4.3
Disables WebGL by default until a fix is available.
2024-11-22 11:13:43 -06:00
daijro 01aff40fc5 pythonlib: Rollback WebGL fingerprint injection 0.4.2
Rolling back WebGL injection temporarily until the crashing issue on certain devices is fixed.
2024-11-22 03:28:01 -06:00
daijro 673fdc7271 pythonlib: Hotfix imports 0.4.1 2024-11-21 21:11:08 -06:00
daijro af937cce55 pythonlib: WebGL rotation & leak fixes 0.4.0 2024-11-21 21:03:25 -06:00
daijro 01291d2ad1 pythonlib: Bump to 0.3.10 2024-11-18 02:32:20 -06:00
Nongzhsh 74e0d08afc pythonlib: Proxy credentials are now optional 2024-11-18 10:57:22 +08:00
daijro 3a33283cd2 pythonlib: Add enable_cache, fixed font spacing, etc 0.3.9
- Enable bf cache with `enable_cache=True` #74
- Font spacing is now fixed per session #63
- Re-download (or raise error) when target install path is empty. Caused when the user cancels the download.
- Bumped minimum version to beta.15
2024-11-11 22:11:43 -06:00
daijro 964f49028c pythonlib: Fix broken import #70 0.3.8 2024-11-04 13:18:10 -06:00
daijro e6beecb3a9 pythonlib: Bump to 0.3.7 2024-11-03 04:16:09 -06:00
daijro ca7c3e3aa8 No progress bar on addon download #65
- Removed progress bars on addon download (shows as percent instead)
- Default addons are downloaded on `camoufox fetch`
2024-11-03 04:01:17 -06:00
Karim shoair 18b1d222e6 Make browserforge update both headers and fingerprints 2024-11-03 11:27:37 +02:00
daijro 956a384ef7 Disable BPC by default
BPC is not always necessary, and increases the memory footprint of Camoufox.
2024-11-03 01:42:35 -05:00
Karim shoair e0dd73b6bb Adding the option to update browserforge database with camoufox fetch 2024-11-02 19:49:42 +02:00
daijro 33189cd5b4 pythonlib: Fully fix #61 0.3.6 2024-10-31 06:42:47 -05:00
Karim shoair 473d04ce13 Complete fix for #61
https://github.com/daijro/camoufox/issues/61
2024-10-31 14:13:13 +03:00
daijro 692e8a162c pythonlib: Support Python 3.8 #61 0.3.5 2024-10-31 05:09:17 -05:00
daijro 347885e9cb pythonlib: Default to http schema #57 0.3.4
Assume the proxy is using http schema when no other schema is specified.
2024-10-29 17:58:43 -05:00
daijro f94452fa93 pythonlib: Error handling for invalid addon paths & proxies 0.3.3
Help prevent confusion with using Camoufox addons #55
2024-10-28 17:40:42 -05:00