style: 优化代码导入方式

BREAKING CHANGE: 更新用户脚本说明
This commit is contained in:
JoeanAmier 2024-09-24 20:50:22 +08:00
parent 1698e1c792
commit 80c3e71649
9 changed files with 20 additions and 20 deletions

View File

@ -14,7 +14,7 @@
</div>
<br>
<p>🔥 <b>小红书链接提取/作品采集工具</b>:提取账号发布、收藏、点赞、专辑作品链接;提取搜索结果作品链接、用户链接;采集小红书作品信息;提取小红书作品下载地址;下载小红书无水印作品文件!</p>
<p><strong>⚠️⚠️⚠️由于小红书规则更新,使用版本号低于 <code>1.7.0</code> 的用户脚本有封号风险,请及时更新用户脚本后再使用!⚠️⚠️⚠️</strong></p>
<p><strong>⚠️ 2024/9/24: 由于小红书规则更新,使用版本号低于 <code>1.7.0</code> 的用户脚本有封号风险,请及时更新用户脚本后再使用!</strong></p>
<p>⭐ 本项目完全免费开源,无任何收费功能,请勿上当受骗!</p>
<h1>📑 项目功能</h1>
<ul><b>程序功能</b>

View File

@ -14,7 +14,7 @@
</div>
<br>
<p>🔥 <b>Xiaohongshu Link Extraction/Content Collection Tool</b>Extract account-published, favorited, and liked content links; extract search result content links and user links; collect Xiaohongshu content information; extract Xiaohongshu content download addresses; download Xiaohongshu watermark-free content files!</p>
<p><strong>⚠️⚠️⚠️Due to rule updates on Xiaohongshu, there is a risk of account suspension for user scripts with version numbers lower than <code>1.7.0</code> Please update the user scripts in a timely manner before using them! ⚠️⚠️⚠️</strong></p>
<p><strong>⚠️ 2024/9/24: Due to rule updates on Xiaohongshu, there is a risk of account suspension for user scripts with version numbers lower than <code>1.7.0</code> Please update the user scripts in a timely manner before using them!</strong></p>
<p>⭐ This project is completely free and open-source, with no paid features. Please do not be deceived!</p>
<p>⭐ Due to the author's limited energy, I was unable to update the English document in a timely manner, and the content may have become outdated, partial translation is machine translation, the translation result may be incorrect, Suggest referring to Chinese documentation. If you want to contribute to translation, we warmly welcome you.</p>
<h1>📑 Project Features</h1>

View File

@ -8,7 +8,7 @@ from textual.widgets import Footer
from textual.widgets import Header
from textual.widgets import Label
from source.module import (
from ..module import (
PROJECT,
PROMPT,
MASTER,

View File

@ -3,20 +3,20 @@ from typing import Callable
from textual.app import App
from textual.widgets import RichLog
from source.application import XHS
from source.module import (
ROOT,
ERROR,
)
from source.module import Settings
from source.module import Translate
from source.module import logging
from .about import About
from .index import Index
from .loading import Loading
from .record import Record
from .setting import Setting
from .update import Update
from ..application import XHS
from ..module import (
ROOT,
ERROR,
)
from ..module import Settings
from ..module import Translate
from ..module import logging
__all__ = ["XHSDownloader"]

View File

@ -16,8 +16,9 @@ from textual.widgets import Input
from textual.widgets import Label
from textual.widgets import RichLog
from source.application import XHS
from source.module import (
from .monitor import Monitor
from ..application import XHS
from ..module import (
PROJECT,
PROMPT,
MASTER,
@ -27,7 +28,6 @@ from source.module import (
REPOSITORY,
GENERAL,
)
from .monitor import Monitor
__all__ = ["Index"]

View File

@ -12,8 +12,8 @@ from textual.widgets import Header
from textual.widgets import Label
from textual.widgets import RichLog
from source.application import XHS
from source.module import (
from ..application import XHS
from ..module import (
PROJECT,
MASTER,
INFO,

View File

@ -9,7 +9,7 @@ from textual.widgets import Button
from textual.widgets import Input
from textual.widgets import Label
from source.application import XHS
from ..application import XHS
__all__ = ["Record"]

View File

@ -8,8 +8,8 @@ from textual.screen import ModalScreen
from textual.widgets import Label
from textual.widgets import LoadingIndicator
from source.application import XHS
from source.module import (
from ..application import XHS
from ..module import (
ERROR,
WARNING,
INFO,

View File

@ -14,4 +14,4 @@
1. 重构作品链接提取功能
<p><strong>⚠️⚠️⚠️由于小红书规则更新,使用版本号低于 <code>1.7.0</code> 的用户脚本有封号风险,请及时更新用户脚本后再使用!⚠️⚠️⚠️</strong></p>
<p><strong>⚠️ 由于小红书规则更新,使用版本号低于 <code>1.7.0</code> 的用户脚本有封号风险,请及时更新用户脚本后再使用!</strong></p>