Skip to content

Commit

Permalink
style: 注释与部分代码修改
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnserf-Seed committed Apr 13, 2024
1 parent baa5d2d commit e6de4d4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion f2/apps/douyin/crawler.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from f2.log.logger import logger
from f2.i18n.translator import _
from f2.utils.conf_manager import ConfigManager
from f2.crawlers.base_crawler import BaseCrawler
from f2.apps.douyin.api import DouyinAPIEndpoints as dyendpoint
from f2.apps.douyin.model import (
Expand Down
2 changes: 1 addition & 1 deletion f2/apps/douyin/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ async def get_aweme_id(cls, url: str) -> str:

except httpx.HTTPStatusError as e:
raise APIResponseError(
_("链接:{0},状态码 {1}:{2} ").format(
_("链接:{0},状态码 {1}:{2}").format(
e.response.url, e.response.status_code, e.response.text
)
)
Expand Down
2 changes: 1 addition & 1 deletion f2/apps/tiktok/help.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def help() -> None:
"-P --proxies",
"[dark_cyan]str",
_(
"代理服务器,最多 2 个参数,http与https。空格区分 2 个参数 http://x.x.x.x https://x.x.x.x"
"代理服务器,最多 2 个参数,http://与https://。空格区分 2 个参数 http://x.x.x.x https://x.x.x.x"
),
),
(
Expand Down

0 comments on commit e6de4d4

Please sign in to comment.