Utilities and scrapers toolkit
Project description
loki
一个可被其它项目复用的工具库(同时包含部分 scraper)。
作为依赖安装
本地源码引用(推荐开发阶段)
pip install -e .
启用 scraper 相关依赖
pip install -e ".[scrapers]"
Playwright 还需要安装浏览器(首次一次性):
python -m playwright install chromium
在其它项目里引用
from loki.scrapers import RequestMixin, Method
from loki.scrapers.javdb import JavDB
构建 wheel(用于分发/离线安装)
python -m build
pip install dist/loki-*.whl
说明
- 依赖在
pyproject.toml的[project.dependencies]/[project.optional-dependencies]中维护。 - 命令行入口
loki指向loki.__main__:main(目前仅做日志初始化)。
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
loki_cactus01-1.6.1.tar.gz
(17.0 kB
view details)
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 loki_cactus01-1.6.1.tar.gz.
File metadata
- Download URL: loki_cactus01-1.6.1.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e64ca7bcbb5de0a999ebbdd41c4ba76d6287425ca220027773eb639607970d58
|
|
| MD5 |
795f165a195b488783d4813d7a663e9a
|
|
| BLAKE2b-256 |
37fdc874a1884cef6f70f149368cf7aef6e83466de6563936e39b13e8a8d95e2
|
File details
Details for the file loki_cactus01-1.6.1-py3-none-any.whl.
File metadata
- Download URL: loki_cactus01-1.6.1-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebb36f46269dfa4c06d66d596db0218b5b061d297c2dbdc88989bdb206ad14b8
|
|
| MD5 |
d8dee350ee6704adf7b513753e6054b8
|
|
| BLAKE2b-256 |
460bccb2cf1d2b14ee385826ab4e2a626702171d3b3a9d7c0eb83c301f9e4775
|