Usage
- 使用命令行启动 Chrome 浏览器,开启远程调试模式
# MacOS
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \ --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug
# Windows
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 --user-data-dir="C:\tmp\chrome-debug"
-
在Chrome浏览器地址栏输入 https://www.showmetheparts.com, 然后人工完成验证码
-
安装Python(如果已经安装了Python 3.11,可以跳过此步骤)
# MacOS
brew install python@3.11
python3.11 -m pip install --upgrade pip
# Windows
winget install python --version 3.11
python3.11 -m pip install --upgrade pip
- 安装 qte-parts-crawler
pip3 install qte-parts-crawler==0.1.4
- 运行 qte-parts-crawler
qte-parts-crawler
Development
pip install -r requirements.txt
Package & Publish
python3.11 -m build
twine upload dist/*
Metadata
Release files for qte-parts-crawler 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| qte_parts_crawler-0.1.5.tar.gz | 11.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qte_parts_crawler-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.2 kB
Release files / qte_parts_crawler-0.1.5.tar.gz
| Download URL | qte_parts_crawler-0.1.5.tar.gz |
|---|---|
| Size | 11.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76c5fea05ebbf47a46307419775e79b78c8c243212cb9b7a7ce6c0ef4ff98347
|
|
BLAKE2b-256 checksum How to use checksums |
c65d0f770bd7382b84fed978954933360ea717062630b33d499f0b9f0de60ab3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|
Release files / qte_parts_crawler-0.1.5-py3-none-any.whl
| Download URL | qte_parts_crawler-0.1.5-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
39efd4f62904778aa248b5ba34f125bd35fff936650b970a95312b7eab148f60
|
|
BLAKE2b-256 checksum How to use checksums |
428ae03c520ab23cf385e448c69fc686db15e3cd2cc1f47c3f1fc397fd0f0735
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.9
|