podflow 20250126.post3__tar.gz → 20250127__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {podflow-20250126.post3 → podflow-20250127}/PKG-INFO +1 -1
- {podflow-20250126.post3 → podflow-20250127}/Podflow/ffmpeg_judge.py +7 -1
- {podflow-20250126.post3 → podflow-20250127}/Podflow/main.py +2 -1
- {podflow-20250126.post3 → podflow-20250127}/podflow.egg-info/PKG-INFO +1 -1
- {podflow-20250126.post3 → podflow-20250127}/setup.py +1 -1
- {podflow-20250126.post3 → podflow-20250127}/Podflow/__init__.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/basic/__init__.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/basic/file_save.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/basic/folder_build.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/basic/get_duration.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/basic/get_file_list.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/basic/get_html_dict.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/basic/http_client.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/basic/list_merge_tidy.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/basic/qr_code.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/basic/split_dict.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/basic/time_format.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/basic/time_stamp.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/basic/vary_replace.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/basic/write_log.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/bilibili/__init__.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/bilibili/build.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/bilibili/get.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/bilibili/login.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/config/__init__.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/config/build_original.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/config/channge_icon.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/config/correct_channelid.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/config/correct_config.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/config/get_channelid.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/config/get_channelid_id.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/config/get_config.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/download/__init__.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/download/convert_bytes.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/download/delete_part.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/download/dl_aideo_video.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/download/show_progress.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/download/wait_animation.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/download/youtube_and_bilibili_download.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/httpfs/__init__.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/httpfs/app_bottle.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/httpfs/port_judge.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/makeup/__init__.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/makeup/del_makeup_yt_format_fail.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/makeup/make_up_file.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/makeup/make_up_file_format_mod.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/makeup/make_up_file_mod.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/__init__.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/backup_zip_save.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/create_main_rss.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/display_qrcode_and_url.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/fail_message_initialize.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/format_time.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/get_original_rss.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/get_video_format.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/get_video_format_multithread.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/get_youtube_and_bilibili_video_format.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/media_format.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/original_rss_fail_print.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/rss_create_hash.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/title_correction.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/update_information_display.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/update_youtube_bilibili_rss.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/want_retry.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/xml_item.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/xml_original_item.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/message/xml_rss.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/netscape/__init__.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/netscape/bulid_netscape.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/netscape/get_cookie_dict.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/parse_arguments.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/remove/__init__.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/remove/remove_dir.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/remove/remove_file.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/youtube/__init__.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/youtube/build.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/youtube/get.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/Podflow/youtube/login.py +0 -0
- {podflow-20250126.post3 → podflow-20250127}/README.md +0 -0
- {podflow-20250126.post3 → podflow-20250127}/podflow.egg-info/SOURCES.txt +0 -0
- {podflow-20250126.post3 → podflow-20250127}/podflow.egg-info/dependency_links.txt +0 -0
- {podflow-20250126.post3 → podflow-20250127}/podflow.egg-info/entry_points.txt +0 -0
- {podflow-20250126.post3 → podflow-20250127}/podflow.egg-info/requires.txt +0 -0
- {podflow-20250126.post3 → podflow-20250127}/podflow.egg-info/top_level.txt +0 -0
- {podflow-20250126.post3 → podflow-20250127}/setup.cfg +0 -0
@@ -3,6 +3,7 @@
|
|
3
3
|
|
4
4
|
import sys
|
5
5
|
import subprocess
|
6
|
+
import shutil
|
6
7
|
from Podflow.basic.write_log import write_log
|
7
8
|
|
8
9
|
|
@@ -28,9 +29,14 @@ def ffmpeg_judge():
|
|
28
29
|
sudo dnf install ffmpeg\033[0m
|
29
30
|
检查FFmpeg版本:
|
30
31
|
\033[32mffmpeg -version\033[0m"""
|
32
|
+
|
33
|
+
# 使用 shutil.which 检查 ffmpeg 是否安装
|
34
|
+
if shutil.which("ffmpeg") is None:
|
35
|
+
error_ffmpeg_judge(ffmpeg_worry)
|
36
|
+
|
31
37
|
try:
|
32
38
|
# 执行 ffmpeg 命令获取版本信息
|
33
|
-
result = subprocess.run(["ffmpeg", "-version"], capture_output=True, text=True)
|
39
|
+
result = subprocess.run(["ffmpeg", "-version"], capture_output=True, text=True, check=True)
|
34
40
|
output = result.stdout.lower()
|
35
41
|
# 检查输出中是否包含 ffmpeg 版本信息
|
36
42
|
if "ffmpeg version" not in output:
|
@@ -7,6 +7,7 @@ import time
|
|
7
7
|
import urllib
|
8
8
|
import subprocess
|
9
9
|
from datetime import datetime
|
10
|
+
from importlib.metadata import version
|
10
11
|
import cherrypy
|
11
12
|
|
12
13
|
# 基本功能模块
|
@@ -62,7 +63,7 @@ def main():
|
|
62
63
|
# 获取传入的参数
|
63
64
|
parse_arguments()
|
64
65
|
# 开始运行
|
65
|
-
print(f"{datetime.now().strftime('%H:%M:%S')}|Podflow开始运行.....")
|
66
|
+
print(f"{datetime.now().strftime('%H:%M:%S')}|Podflow|{version('Podflow')}开始运行.....")
|
66
67
|
# 判断是否安装ffmpeg
|
67
68
|
ffmpeg_judge()
|
68
69
|
# 初始化
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{podflow-20250126.post3 → podflow-20250127}/Podflow/download/youtube_and_bilibili_download.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{podflow-20250126.post3 → podflow-20250127}/Podflow/message/get_youtube_and_bilibili_video_format.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|