Python based web automation tool. It can control the browser and send and receive data packets.
Project description
DrissionPage can now set English error and prompt messages: Set Language
✨️ 概述
DrissionPage is a Python-based web automation tool.
It can control the browser, send and receive packets, and combine the two.
You can balance the convenience of browser automation with the efficiency of requests.
It is powerful, built-in countless user-friendly design and convenient features.
Its syntax is simple and elegant, the code is small, and it is friendly to beginners.
WebSite: https://DrissionPage.cn
Project: gitee | github | gitcode
Your stars are my greatest support.💖
Support system: Windows、Linux、Mac
Python version:more than 3.6
Support browser: Chromium kernel(eg. Chrome, Edge),electron
🛠 How to use
📖 Document: Click to see
💡 Idea
Simple and powerful!
☀️ Features and highlights
🎇 Powerful self-developed kernel
This library uses a fully self-developed kernel with numerous built-in practical functions, and integrates and optimizes common functions. Compared with selenium, it has the following advantages:
- Not based on webdriver
- No need to download different drivers for different versions of browsers
- Run faster
- Elements can be found across iframe without cutting in and out
- Think of the iframe as a normal element for clearer logic
- Can operate multiple tabs at the same time without switching
- Can directly read the browser cache to save the image, no need to use the GUI click save
- Can take a screenshot of the entire web page, including the parts outside the viewport
- Can handle shadow-root in non-open state
🎇 Highlight function
In addition to the above advantages, the library also has numerous built-in user-friendly designs.
- Minimal positioning syntax, easier to find elements
- Integrate a large number of common functions, the code is more elegant, powerful and stable
- Ubiquitous waiting and automatic retries make unstable networks easier to control, programs more stable, and writing easier
- Provide powerful download tools, operating the browser can also enjoy fast and reliable download function
- Allows repeated use of an already open browser, without having to start the browser from scratch every time you run, easy debugging
- Use the ini file to save common configurations and automatically invoke them, providing convenient Settings and avoiding complicated configuration items
- Built-in lxml as a parsing engine, the parsing speed is improved by several orders of magnitude
- Packaged with POM mode, it can be used directly for testing and easy to expand
- Highly integrated convenience features, reflected in every detail
- There are many details, not listed here, welcome to practical use experience: D
📝 Terms of use
Anyone is permitted to use or distribute the source code of the Project in their personal capacity, but only for learning and legitimate non-profit purposes. Individuals or organizations may not use this project in source code or binary form for commercial purposes without the authorization of the copyright holder.
Use of this project must meet the following terms, if any of the terms are violated during use, the authorization will automatically expire.
- DrissionPage is prohibited from being used in any project that may violate local legal and ethical requirements
- Use of DrissionPage in any project that may harm the interests of others is prohibited
- Use of DrissionPage for assault and harassment is prohibited
- Comply with the Robots protocol and prohibit the use of DrissionPage to collect data that is not permitted by law or system Robots protocol
All actions that occur while using DrissionPage are the user's own responsibility. All disputes and consequences arising out of any use of DrissionPage are independent of the copyright holder, The copyright holder does not assume any risk or loss arising from the use of DrissionPage. The copyright holder shall not be liable for any loss resulting from possible defects in DrissionPage.
☕ Buy me coffee
The author is an individual developer, and the workload of developing and writing documentation is relatively heavy.
If this project was helpful to you, please give a tip to the author:)
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 Distributions
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 flcatdrissionpage-0.1.33.tar.gz.
File metadata
- Download URL: flcatdrissionpage-0.1.33.tar.gz
- Upload date:
- Size: 410.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a01aad11d6eefab977a70c9faea93be22bfbab94ca6f731bb582daef5b2f5f1e
|
|
| MD5 |
5ef9fbb9c2a9bfca9504b4ff4cdf1bf2
|
|
| BLAKE2b-256 |
ea262366f3ad9d9f46067e8da14ea6f7e3533d0d84864e647d060f5def9bcfaf
|
Provenance
The following attestation bundles were made for flcatdrissionpage-0.1.33.tar.gz:
Publisher:
python-publish.yml on yhhit/DrissionPage
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flcatdrissionpage-0.1.33.tar.gz -
Subject digest:
a01aad11d6eefab977a70c9faea93be22bfbab94ca6f731bb582daef5b2f5f1e - Sigstore transparency entry: 349465934
- Sigstore integration time:
-
Permalink:
yhhit/DrissionPage@f104041f73311c214e8ff3adb8d509fa330ae831 -
Branch / Tag:
refs/tags/v0.1.33 - Owner: https://github.com/yhhit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f104041f73311c214e8ff3adb8d509fa330ae831 -
Trigger Event:
release
-
Statement type:
File details
Details for the file flcatdrissionpage-0.1.33-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: flcatdrissionpage-0.1.33-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 551.3 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d662aad84b104e130bd131f6f8d6266b8b4451dd03c0efe865b4649016a7e446
|
|
| MD5 |
319f4c0bed27da4476ef79ace042cdc2
|
|
| BLAKE2b-256 |
f697de26632e3285ad070ae8d126e31a0cc4e98c178bbfcb92fa536d0d6e93c8
|
Provenance
The following attestation bundles were made for flcatdrissionpage-0.1.33-cp312-cp312-win_amd64.whl:
Publisher:
python-publish.yml on yhhit/DrissionPage
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flcatdrissionpage-0.1.33-cp312-cp312-win_amd64.whl -
Subject digest:
d662aad84b104e130bd131f6f8d6266b8b4451dd03c0efe865b4649016a7e446 - Sigstore transparency entry: 349466028
- Sigstore integration time:
-
Permalink:
yhhit/DrissionPage@f104041f73311c214e8ff3adb8d509fa330ae831 -
Branch / Tag:
refs/tags/v0.1.33 - Owner: https://github.com/yhhit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f104041f73311c214e8ff3adb8d509fa330ae831 -
Trigger Event:
release
-
Statement type:
File details
Details for the file flcatdrissionpage-0.1.33-cp312-cp312-win32.whl.
File metadata
- Download URL: flcatdrissionpage-0.1.33-cp312-cp312-win32.whl
- Upload date:
- Size: 542.5 kB
- Tags: CPython 3.12, Windows x86
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
247446d6fd32d770a930fee9cf98d37555b5fae310ac33e1b8a9f768f84edb25
|
|
| MD5 |
48495e103be071168b789ae296388872
|
|
| BLAKE2b-256 |
e705c4643dd3891ea3095922722758361739cdde9310d8c7740e5aebd026579f
|
Provenance
The following attestation bundles were made for flcatdrissionpage-0.1.33-cp312-cp312-win32.whl:
Publisher:
python-publish.yml on yhhit/DrissionPage
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flcatdrissionpage-0.1.33-cp312-cp312-win32.whl -
Subject digest:
247446d6fd32d770a930fee9cf98d37555b5fae310ac33e1b8a9f768f84edb25 - Sigstore transparency entry: 349465969
- Sigstore integration time:
-
Permalink:
yhhit/DrissionPage@f104041f73311c214e8ff3adb8d509fa330ae831 -
Branch / Tag:
refs/tags/v0.1.33 - Owner: https://github.com/yhhit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f104041f73311c214e8ff3adb8d509fa330ae831 -
Trigger Event:
release
-
Statement type:
File details
Details for the file flcatdrissionpage-0.1.33-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: flcatdrissionpage-0.1.33-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 552.9 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e71662cb4139b3bef8a1fa42b6a6af28f0b5e0f670116c492202035c0af1d0c7
|
|
| MD5 |
8c5ffa97000c7bf78a8c66dbad3fe76d
|
|
| BLAKE2b-256 |
896f9be9fdbb43003e1a237513b3bbaf8babd78ef4868f37c18bab0965c0afc0
|
Provenance
The following attestation bundles were made for flcatdrissionpage-0.1.33-cp311-cp311-win_amd64.whl:
Publisher:
python-publish.yml on yhhit/DrissionPage
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flcatdrissionpage-0.1.33-cp311-cp311-win_amd64.whl -
Subject digest:
e71662cb4139b3bef8a1fa42b6a6af28f0b5e0f670116c492202035c0af1d0c7 - Sigstore transparency entry: 349465949
- Sigstore integration time:
-
Permalink:
yhhit/DrissionPage@f104041f73311c214e8ff3adb8d509fa330ae831 -
Branch / Tag:
refs/tags/v0.1.33 - Owner: https://github.com/yhhit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f104041f73311c214e8ff3adb8d509fa330ae831 -
Trigger Event:
release
-
Statement type:
File details
Details for the file flcatdrissionpage-0.1.33-cp311-cp311-win32.whl.
File metadata
- Download URL: flcatdrissionpage-0.1.33-cp311-cp311-win32.whl
- Upload date:
- Size: 543.9 kB
- Tags: CPython 3.11, Windows x86
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05c717902464291e87a7ca47c3f6b8a74c58ef5586e7700723a6af0d3aa1d731
|
|
| MD5 |
579a3d9e67d729c3bb0448864902c858
|
|
| BLAKE2b-256 |
813a0653d94ea9ecb97fd59171b7a733663631d3503be1dd942210e995e523ec
|
Provenance
The following attestation bundles were made for flcatdrissionpage-0.1.33-cp311-cp311-win32.whl:
Publisher:
python-publish.yml on yhhit/DrissionPage
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flcatdrissionpage-0.1.33-cp311-cp311-win32.whl -
Subject digest:
05c717902464291e87a7ca47c3f6b8a74c58ef5586e7700723a6af0d3aa1d731 - Sigstore transparency entry: 349466015
- Sigstore integration time:
-
Permalink:
yhhit/DrissionPage@f104041f73311c214e8ff3adb8d509fa330ae831 -
Branch / Tag:
refs/tags/v0.1.33 - Owner: https://github.com/yhhit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f104041f73311c214e8ff3adb8d509fa330ae831 -
Trigger Event:
release
-
Statement type:
File details
Details for the file flcatdrissionpage-0.1.33-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: flcatdrissionpage-0.1.33-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 552.6 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39f642960aa102e0da8ad30cd2af6334b549eaf879cea4573e9a418feceb9eaa
|
|
| MD5 |
76b440c1328faf0984e69c36bb64743b
|
|
| BLAKE2b-256 |
818646fda57e7e8c1962e8d7a437d85d6bc79044247dd1814fabd500be07f2e5
|
Provenance
The following attestation bundles were made for flcatdrissionpage-0.1.33-cp310-cp310-win_amd64.whl:
Publisher:
python-publish.yml on yhhit/DrissionPage
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flcatdrissionpage-0.1.33-cp310-cp310-win_amd64.whl -
Subject digest:
39f642960aa102e0da8ad30cd2af6334b549eaf879cea4573e9a418feceb9eaa - Sigstore transparency entry: 349466057
- Sigstore integration time:
-
Permalink:
yhhit/DrissionPage@f104041f73311c214e8ff3adb8d509fa330ae831 -
Branch / Tag:
refs/tags/v0.1.33 - Owner: https://github.com/yhhit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f104041f73311c214e8ff3adb8d509fa330ae831 -
Trigger Event:
release
-
Statement type:
File details
Details for the file flcatdrissionpage-0.1.33-cp310-cp310-win32.whl.
File metadata
- Download URL: flcatdrissionpage-0.1.33-cp310-cp310-win32.whl
- Upload date:
- Size: 543.7 kB
- Tags: CPython 3.10, Windows x86
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43ec5e4d08120b594d84da504ce092b96825058599bd569ea86892b3cb317a36
|
|
| MD5 |
dc6ca922a6006e85ddef7b863e5be461
|
|
| BLAKE2b-256 |
1a8b7abe319667b1081bd82f802e1b750621046f1d5acfc9f37064bbba220acb
|
Provenance
The following attestation bundles were made for flcatdrissionpage-0.1.33-cp310-cp310-win32.whl:
Publisher:
python-publish.yml on yhhit/DrissionPage
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flcatdrissionpage-0.1.33-cp310-cp310-win32.whl -
Subject digest:
43ec5e4d08120b594d84da504ce092b96825058599bd569ea86892b3cb317a36 - Sigstore transparency entry: 349465996
- Sigstore integration time:
-
Permalink:
yhhit/DrissionPage@f104041f73311c214e8ff3adb8d509fa330ae831 -
Branch / Tag:
refs/tags/v0.1.33 - Owner: https://github.com/yhhit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f104041f73311c214e8ff3adb8d509fa330ae831 -
Trigger Event:
release
-
Statement type:
File details
Details for the file flcatdrissionpage-0.1.33-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: flcatdrissionpage-0.1.33-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 552.6 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2acb948032688df2bc70982798ead939dcb32f2d6672c8c23380025c08c8698
|
|
| MD5 |
d0d0e3ec50fd2065332d4e14c3015112
|
|
| BLAKE2b-256 |
fd5d5aa586584a99762bd8ad2854b9d1ca0c4a858cf2c56159ce764e84049453
|
Provenance
The following attestation bundles were made for flcatdrissionpage-0.1.33-cp39-cp39-win_amd64.whl:
Publisher:
python-publish.yml on yhhit/DrissionPage
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flcatdrissionpage-0.1.33-cp39-cp39-win_amd64.whl -
Subject digest:
e2acb948032688df2bc70982798ead939dcb32f2d6672c8c23380025c08c8698 - Sigstore transparency entry: 349465978
- Sigstore integration time:
-
Permalink:
yhhit/DrissionPage@f104041f73311c214e8ff3adb8d509fa330ae831 -
Branch / Tag:
refs/tags/v0.1.33 - Owner: https://github.com/yhhit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f104041f73311c214e8ff3adb8d509fa330ae831 -
Trigger Event:
release
-
Statement type:
File details
Details for the file flcatdrissionpage-0.1.33-cp39-cp39-win32.whl.
File metadata
- Download URL: flcatdrissionpage-0.1.33-cp39-cp39-win32.whl
- Upload date:
- Size: 543.8 kB
- Tags: CPython 3.9, Windows x86
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7477d98cbee2b957ff5b258c1d6219f6755fd368d110026b305ef87f64140957
|
|
| MD5 |
9c61656ed096b8259929ed8d4165525f
|
|
| BLAKE2b-256 |
9f451bad2c95e56181ee2635fae1d62b155d99222356f0b8d882dd77ef05adc0
|
Provenance
The following attestation bundles were made for flcatdrissionpage-0.1.33-cp39-cp39-win32.whl:
Publisher:
python-publish.yml on yhhit/DrissionPage
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flcatdrissionpage-0.1.33-cp39-cp39-win32.whl -
Subject digest:
7477d98cbee2b957ff5b258c1d6219f6755fd368d110026b305ef87f64140957 - Sigstore transparency entry: 349466078
- Sigstore integration time:
-
Permalink:
yhhit/DrissionPage@f104041f73311c214e8ff3adb8d509fa330ae831 -
Branch / Tag:
refs/tags/v0.1.33 - Owner: https://github.com/yhhit
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@f104041f73311c214e8ff3adb8d509fa330ae831 -
Trigger Event:
release
-
Statement type: