Selenium DeepSeek automation, using Google Chrome.
Project description
DeepSeek'r
Selenium DeepSeek automation library for Python.
Why "just another wrapper library"?
I know there are some similar libraries already, but the reasons I’m releasing this one are:
- Most of the ones I found were outdated or not working.
- I’m working on another project and this was the script I needed. So I decided to release DeepSeek'r separately.
Credits / Thanks
- The most up-to-date DeepSeek Selenium automation script I found was NewComer00/deepseek-chatbot. DeepSeek'r is partly based on it.
- Why did I make DeepSeek'r based on it, then?
- NewComer00/deepseek-chatbot uses Edge, but I needed Chrome for my project. So DeepSeek'r uses Google Chrome. (DeepSeek'r also includes other small changes and improvements.)
Example Usage
-
Install DeepSeek'r
pip install deepseekr
-
Basic Usage
from deepseekr import DeepSeek # minimal ds1 = DeepSeek() print(ds1.send_prompt("Hi")) ds1.close() # with headless (BETA - may not work on some devices!) ds2 = DeepSeek(headless=True) print(ds2.send_prompt("Running in headless mode")) ds2.close() # with custom profile path (saves cookies there, so you don’t have to log in again) ds3 = DeepSeek(profile_path="my_profile") print(ds3.send_prompt("Using custom profile path")) ds3.close() # with session name (BETA) ds4 = DeepSeek(session_name="Work Chat") print(ds4.send_prompt("Resuming session Work Chat")) ds4.close() # with Chrome binary path ds5 = DeepSeek(chrome_path="/Applications/Chrome.app/Contents/MacOS/Google Chrome") print(ds5.send_prompt("Using custom Chrome path")) ds5.close()
Notes
Currently, DeepSeek'r is developed and tested only on macOS. It may be incompatible with other operating systems!
Versions
- 0.1.0: First version
- 0.2.0: Important! DeepSeek's UI on its website just got updated / changed. This update adds support for it. Older versions does not work anymore!
- 0.3.0: Added "server busy" handling.
If you are already using DeepSeek'r on your projects, please update it using:
pip install -U deepseekr
Disclaimer
This repository is only for research purposes. I am not responsible for misuse, as this works like a free and unlimited DeepSeek API. Please do not use in production!
Contact & Support
📧 yusuf@tachion.tech
☕ Buy me a coffee
Thanks — hope this helps!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file deepseekr-0.3.0.tar.gz.
File metadata
- Download URL: deepseekr-0.3.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
521b9b895cbb6d59246c9d0ce3fc812adee01621a67214ab23b3ba96416df4f9
|
|
| MD5 |
c67a1a8e49a47ebef22df348fdec9401
|
|
| BLAKE2b-256 |
9d6deed88ea58594f4bf452cbe646aa04026c391636d3893a8c79db33ef65a98
|
File details
Details for the file deepseekr-0.3.0-py3-none-any.whl.
File metadata
- Download URL: deepseekr-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb8d12fa496a71098d7af5a257c5ed7f4bdb1e20c112e0af022f7e550b268adb
|
|
| MD5 |
8fe7cf3f06c70927eee13119c53b40f6
|
|
| BLAKE2b-256 |
0338f50cbf765f265252abc7efb79152d38976f0af06ad027feee23d7f1deedc
|