podflow 20250404.6__tar.gz → 20250404.7__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-20250404.6 → podflow-20250404.7}/PKG-INFO +1 -1
- {podflow-20250404.6 → podflow-20250404.7}/podflow/download/show_progress.py +2 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/templates/index.html +13 -3
- {podflow-20250404.6 → podflow-20250404.7}/podflow.egg-info/PKG-INFO +1 -1
- {podflow-20250404.6 → podflow-20250404.7}/setup.py +1 -1
- {podflow-20250404.6 → podflow-20250404.7}/MANIFEST.in +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/README.md +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/__init__.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/basic/__init__.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/basic/file_save.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/basic/folder_build.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/basic/get_duration.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/basic/get_file_list.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/basic/get_html_dict.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/basic/http_client.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/basic/list_merge_tidy.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/basic/qr_code.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/basic/split_dict.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/basic/time_format.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/basic/time_print.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/basic/time_stamp.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/basic/vary_replace.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/basic/write_log.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/bilibili/__init__.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/bilibili/build.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/bilibili/get.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/bilibili/login.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/config/__init__.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/config/build_original.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/config/channge_icon.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/config/correct_channelid.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/config/correct_config.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/config/get_channelid.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/config/get_channelid_id.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/config/get_config.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/download/__init__.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/download/convert_bytes.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/download/delete_part.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/download/dl_aideo_video.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/download/wait_animation.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/download/youtube_and_bilibili_download.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/download_and_build.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/ffmpeg_judge.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/httpfs/__init__.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/httpfs/app_bottle.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/httpfs/browser.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/httpfs/get_channelid.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/httpfs/port_judge.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/httpfs/to_html.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/main.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/main_podcast.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/main_upload.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/makeup/__init__.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/makeup/del_makeup_format_fail.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/makeup/make_up_file.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/makeup/make_up_file_format_mod.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/makeup/make_up_file_mod.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/__init__.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/backup_zip_save.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/create_main_rss.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/display_qrcode_and_url.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/fail_message_initialize.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/format_time.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/get_media_name.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/get_original_rss.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/get_video_format.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/get_video_format_multithread.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/get_youtube_and_bilibili_video_format.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/media_format.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/original_rss_fail_print.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/rss_create_hash.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/save_rss.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/title_correction.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/update_information_display.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/update_youtube_bilibili_rss.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/want_retry.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/xml_item.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/xml_original_item.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/message/xml_rss.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/netscape/__init__.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/netscape/bulid_netscape.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/netscape/get_cookie_dict.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/parse_arguments.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/remove/__init__.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/remove/remove_dir.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/remove/remove_file.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/repair/__init__.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/repair/reverse_log.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/upload/__init__.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/upload/add_upload.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/upload/build_hash.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/upload/get_upload_original.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/upload/linked_client.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/upload/linked_server.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/upload/login.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/upload/time_key.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/upload/update_upload.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/upload/upload_server.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/youtube/__init__.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/youtube/build.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/youtube/get.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow/youtube/login.py +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow.egg-info/SOURCES.txt +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow.egg-info/dependency_links.txt +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow.egg-info/entry_points.txt +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow.egg-info/requires.txt +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/podflow.egg-info/top_level.txt +0 -0
- {podflow-20250404.6 → podflow-20250404.7}/setup.cfg +0 -0
@@ -33,6 +33,7 @@ def show_progress(stream):
|
|
33
33
|
eta = time_format(stream["eta"]).ljust(8)
|
34
34
|
time_print(
|
35
35
|
f"\033[94m{percent}%\033[0m|{downloaded_bytes}/{total_bytes}|\033[32m{speed}/s\033[0m|\033[93m{eta}\033[0m",
|
36
|
+
Top=True,
|
36
37
|
NoEnter=True,
|
37
38
|
Time=False,
|
38
39
|
)
|
@@ -43,5 +44,6 @@ def show_progress(stream):
|
|
43
44
|
elapsed = "Unknown "
|
44
45
|
time_print(
|
45
46
|
f"100.0%|{downloaded_bytes}/{total_bytes}|\033[32m{speed}/s\033[0m|\033[97m{elapsed}\033[0m",
|
47
|
+
Top=True,
|
46
48
|
Time=False,
|
47
49
|
)
|
@@ -407,7 +407,7 @@
|
|
407
407
|
function appendMessages(container, newMessages, oldMessages) {
|
408
408
|
// 判断当前是否在底部
|
409
409
|
const isAtBottom = container.scrollHeight - container.scrollTop <= container.clientHeight + 10;
|
410
|
-
|
410
|
+
|
411
411
|
// 只追加新数据,避免重复渲染
|
412
412
|
if (newMessages.length === oldMessages.length && newMessages.length > 0) {
|
413
413
|
const lastNewMessage = newMessages[newMessages.length - 1];
|
@@ -416,7 +416,7 @@
|
|
416
416
|
const p = document.createElement('p');
|
417
417
|
p.innerHTML = lastNewMessage;
|
418
418
|
p.className = 'message'; // 添加 CSS 类名
|
419
|
-
|
419
|
+
|
420
420
|
// 获取容器的最后一个子元素
|
421
421
|
const lastChild = container.lastElementChild;
|
422
422
|
// 如果容器有子元素,则替换最后一个
|
@@ -436,7 +436,17 @@
|
|
436
436
|
container.appendChild(p);
|
437
437
|
});
|
438
438
|
}
|
439
|
-
|
439
|
+
|
440
|
+
// 替换倒数第二项为 newMessages 的倒数第二项
|
441
|
+
const secondLastChild = container.children[container.children.length - 2];
|
442
|
+
if (secondLastChild && newMessages.length > 1) {
|
443
|
+
const newSecondLastMessage = newMessages[newMessages.length - 2];
|
444
|
+
const p = document.createElement('p');
|
445
|
+
p.innerHTML = newSecondLastMessage;
|
446
|
+
p.className = 'message'; // 添加 CSS 类名
|
447
|
+
container.replaceChild(p, secondLastChild);
|
448
|
+
}
|
449
|
+
|
440
450
|
// 如果用户没有主动滚动,才自动滚动到底部
|
441
451
|
if (!userScrolled) {
|
442
452
|
container.scrollTop = container.scrollHeight;
|
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
|
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-20250404.6 → podflow-20250404.7}/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
|
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
|