podflow 20250326__py3-none-any.whl → 20250326.1__py3-none-any.whl
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/__init__.py +1 -1
- Podflow/basic/__init__.py +1 -1
- Podflow/basic/file_save.py +1 -1
- Podflow/basic/folder_build.py +2 -2
- Podflow/basic/get_duration.py +2 -2
- Podflow/basic/get_file_list.py +2 -2
- Podflow/basic/get_html_dict.py +2 -2
- Podflow/basic/http_client.py +1 -1
- Podflow/basic/list_merge_tidy.py +1 -1
- Podflow/basic/qr_code.py +1 -1
- Podflow/basic/split_dict.py +1 -1
- Podflow/basic/time_format.py +1 -1
- Podflow/basic/time_print.py +1 -1
- Podflow/basic/time_stamp.py +2 -2
- Podflow/basic/vary_replace.py +1 -1
- Podflow/basic/write_log.py +1 -1
- Podflow/bilibili/__init__.py +1 -1
- Podflow/bilibili/build.py +9 -9
- Podflow/bilibili/get.py +5 -5
- Podflow/bilibili/login.py +7 -7
- Podflow/config/__init__.py +1 -1
- Podflow/config/build_original.py +8 -8
- Podflow/config/channge_icon.py +4 -4
- Podflow/config/correct_channelid.py +3 -3
- Podflow/config/correct_config.py +2 -2
- Podflow/config/get_channelid.py +3 -3
- Podflow/config/get_channelid_id.py +1 -1
- Podflow/config/get_config.py +3 -3
- Podflow/download/__init__.py +1 -1
- Podflow/download/convert_bytes.py +1 -1
- Podflow/download/delete_part.py +2 -2
- Podflow/download/dl_aideo_video.py +6 -6
- Podflow/download/show_progress.py +3 -3
- Podflow/download/wait_animation.py +1 -1
- Podflow/download/youtube_and_bilibili_download.py +4 -4
- Podflow/download_and_build.py +4 -4
- Podflow/ffmpeg_judge.py +2 -2
- Podflow/httpfs/__init__.py +1 -1
- Podflow/httpfs/app_bottle.py +9 -9
- Podflow/httpfs/browser.py +1 -1
- Podflow/httpfs/get_channelid.py +2 -2
- Podflow/httpfs/html.py +1 -1
- Podflow/httpfs/port_judge.py +1 -1
- Podflow/main.py +6 -6
- Podflow/main_podcast.py +32 -32
- Podflow/main_upload.py +6 -6
- Podflow/makeup/__init__.py +1 -1
- Podflow/makeup/del_makeup_format_fail.py +2 -2
- Podflow/makeup/make_up_file.py +2 -2
- Podflow/makeup/make_up_file_format_mod.py +4 -4
- Podflow/makeup/make_up_file_mod.py +4 -4
- Podflow/message/__init__.py +1 -1
- Podflow/message/backup_zip_save.py +4 -4
- Podflow/message/create_main_rss.py +5 -5
- Podflow/message/display_qrcode_and_url.py +3 -3
- Podflow/message/fail_message_initialize.py +1 -1
- Podflow/message/format_time.py +1 -1
- Podflow/message/get_media_name.py +1 -1
- Podflow/message/get_original_rss.py +2 -2
- Podflow/message/get_video_format.py +6 -6
- Podflow/message/get_video_format_multithread.py +3 -3
- Podflow/message/get_youtube_and_bilibili_video_format.py +4 -4
- Podflow/message/media_format.py +2 -2
- Podflow/message/original_rss_fail_print.py +3 -3
- Podflow/message/rss_create_hash.py +1 -1
- Podflow/message/save_rss.py +8 -8
- Podflow/message/title_correction.py +1 -1
- Podflow/message/update_information_display.py +2 -2
- Podflow/message/update_youtube_bilibili_rss.py +7 -7
- Podflow/message/want_retry.py +1 -1
- Podflow/message/xml_item.py +5 -5
- Podflow/message/xml_original_item.py +3 -3
- Podflow/message/xml_rss.py +1 -1
- Podflow/netscape/__init__.py +1 -1
- Podflow/netscape/bulid_netscape.py +2 -2
- Podflow/netscape/get_cookie_dict.py +1 -1
- Podflow/parse_arguments.py +2 -2
- Podflow/remove/__init__.py +1 -1
- Podflow/remove/remove_dir.py +3 -3
- Podflow/remove/remove_file.py +3 -3
- Podflow/repair/__init__.py +1 -1
- Podflow/repair/reverse_log.py +2 -2
- Podflow/upload/__init__.py +1 -1
- Podflow/upload/add_upload.py +2 -2
- Podflow/upload/build_hash.py +1 -1
- Podflow/upload/get_upload_original.py +5 -5
- Podflow/upload/linked_client.py +4 -4
- Podflow/upload/linked_server.py +5 -5
- Podflow/upload/login.py +7 -7
- Podflow/upload/time_key.py +1 -1
- Podflow/upload/update_upload.py +4 -4
- Podflow/upload/upload_server.py +1 -1
- Podflow/youtube/__init__.py +1 -1
- Podflow/youtube/build.py +8 -8
- Podflow/youtube/get.py +6 -6
- Podflow/youtube/login.py +4 -4
- {podflow-20250326.dist-info → podflow-20250326.1.dist-info}/METADATA +1 -1
- podflow-20250326.1.dist-info/RECORD +101 -0
- podflow-20250326.1.dist-info/entry_points.txt +6 -0
- podflow-20250326.dist-info/RECORD +0 -101
- podflow-20250326.dist-info/entry_points.txt +0 -6
- {podflow-20250326.dist-info → podflow-20250326.1.dist-info}/WHEEL +0 -0
- {podflow-20250326.dist-info → podflow-20250326.1.dist-info}/top_level.txt +0 -0
Podflow/main_upload.py
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
#
|
1
|
+
# podflow/main_upload.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import sys
|
5
5
|
import cherrypy
|
6
|
-
from
|
7
|
-
from
|
8
|
-
from
|
9
|
-
from
|
10
|
-
from
|
6
|
+
from podflow.upload.login import get_login
|
7
|
+
from podflow.basic.time_print import time_print
|
8
|
+
from podflow.basic.folder_build import folder_build
|
9
|
+
from podflow.httpfs.app_bottle import bottle_app_instance
|
10
|
+
from podflow.upload.linked_server import handle_discovery, usable_port
|
11
11
|
|
12
12
|
|
13
13
|
def main_upload():
|
Podflow/makeup/__init__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
#
|
1
|
+
# podflow/makeup/__init__.py
|
2
2
|
# coding: utf-8
|
Podflow/makeup/make_up_file.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
#
|
1
|
+
# podflow/makeup/make_up_file_format_mod.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import threading
|
5
5
|
from datetime import datetime
|
6
|
-
from
|
7
|
-
from
|
8
|
-
from
|
6
|
+
from podflow import gVar
|
7
|
+
from podflow.basic.write_log import write_log
|
8
|
+
from podflow.message.media_format import media_format
|
9
9
|
|
10
10
|
|
11
11
|
def makeup_format(video_id, makeup_format_lock):
|
@@ -1,10 +1,10 @@
|
|
1
|
-
#
|
1
|
+
# podflow/makeup/make_up_file_mod.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import os
|
5
|
-
from
|
6
|
-
from
|
7
|
-
from
|
5
|
+
from podflow import gVar
|
6
|
+
from podflow.basic.write_log import write_log
|
7
|
+
from podflow.download.dl_aideo_video import dl_aideo_video
|
8
8
|
|
9
9
|
|
10
10
|
# 下载补全Youtube和哔哩哔哩视频模块
|
Podflow/message/__init__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
#
|
1
|
+
# podflow/message/__init__.py
|
2
2
|
# coding: utf-8
|
@@ -1,11 +1,11 @@
|
|
1
|
-
#
|
1
|
+
# podflow/message/backup_zip_save.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import zipfile
|
5
5
|
from datetime import datetime
|
6
|
-
from
|
7
|
-
from
|
8
|
-
from
|
6
|
+
from podflow import gVar
|
7
|
+
from podflow.basic.write_log import write_log
|
8
|
+
from podflow.message.rss_create_hash import rss_create_hash
|
9
9
|
|
10
10
|
|
11
11
|
# xml备份保存模块
|
@@ -1,11 +1,11 @@
|
|
1
|
-
#
|
1
|
+
# podflow/message/create_main_rss.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import time
|
5
|
-
from
|
6
|
-
from
|
7
|
-
from
|
8
|
-
from
|
5
|
+
from podflow import gVar
|
6
|
+
from podflow.youtube.build import youtube_xml_items
|
7
|
+
from podflow.bilibili.build import bilibili_xml_items
|
8
|
+
from podflow.message.get_media_name import get_media_name
|
9
9
|
|
10
10
|
|
11
11
|
def update_output_dir():
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# podflow/message/display_qrcode_and_url.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
from datetime import datetime
|
5
|
-
from
|
6
|
-
from
|
5
|
+
from podflow import gVar
|
6
|
+
from podflow.basic.qr_code import qr_code
|
7
7
|
|
8
8
|
|
9
9
|
# 显示网址及二维码模块
|
Podflow/message/format_time.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
#
|
1
|
+
# podflow/message/get_video_format.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
|
-
from
|
5
|
-
from
|
6
|
-
from
|
7
|
-
from
|
8
|
-
from
|
4
|
+
from podflow import gVar
|
5
|
+
from podflow.basic.write_log import write_log
|
6
|
+
from podflow.basic.split_dict import split_dict
|
7
|
+
from podflow.message.want_retry import want_retry
|
8
|
+
from podflow.message.get_video_format_multithread import get_video_format_multithread
|
9
9
|
|
10
10
|
|
11
11
|
def get_youtube_format_front(ytid_content_update, backward_update):
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# podflow/message/get_video_format_multithread.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import threading
|
5
|
-
from
|
6
|
-
from
|
5
|
+
from podflow.download.wait_animation import wait_animation
|
6
|
+
from podflow.message.get_youtube_and_bilibili_video_format import (
|
7
7
|
get_youtube_and_bilibili_video_format,
|
8
8
|
)
|
9
9
|
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# podflow/message/get_youtube_and_bilibili_video_format.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
|
-
from
|
5
|
-
from
|
6
|
-
from
|
4
|
+
from podflow import gVar
|
5
|
+
from podflow.basic.write_log import write_log
|
6
|
+
from podflow.message.media_format import media_format
|
7
7
|
|
8
8
|
|
9
9
|
def one_format(id_update_format, id_num):
|
Podflow/message/media_format.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
#
|
1
|
+
# podflow/message/media_format.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import yt_dlp
|
5
|
-
from
|
5
|
+
from podflow.message.fail_message_initialize import fail_message_initialize
|
6
6
|
|
7
7
|
|
8
8
|
class MyLogger:
|
@@ -1,8 +1,8 @@
|
|
1
|
-
#
|
1
|
+
# podflow/message/original_rss_fail_print.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
|
-
from
|
5
|
-
from
|
4
|
+
from podflow import gVar
|
5
|
+
from podflow.basic.write_log import write_log
|
6
6
|
|
7
7
|
|
8
8
|
# 打印无法保留原节目信息模块
|
Podflow/message/save_rss.py
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
#
|
1
|
+
# podflow/message/save_rss.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
|
-
from
|
5
|
-
from
|
6
|
-
from
|
7
|
-
from
|
8
|
-
from
|
9
|
-
from
|
10
|
-
from
|
4
|
+
from podflow import gVar
|
5
|
+
from podflow.basic.qr_code import qr_code
|
6
|
+
from podflow.message.xml_rss import xml_rss
|
7
|
+
from podflow.basic.file_save import file_save
|
8
|
+
from podflow.basic.write_log import write_log
|
9
|
+
from podflow.message.backup_zip_save import backup_zip_save
|
10
|
+
from podflow.message.display_qrcode_and_url import display_qrcode_and_url
|
11
11
|
|
12
12
|
|
13
13
|
# 保存rss文件模块
|
@@ -1,14 +1,14 @@
|
|
1
|
-
#
|
1
|
+
# podflow/message/update_youtube_bilibili_rss.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import re
|
5
5
|
import threading
|
6
|
-
from
|
7
|
-
from
|
8
|
-
from
|
9
|
-
from
|
10
|
-
from
|
11
|
-
from
|
6
|
+
from podflow import gVar
|
7
|
+
from podflow.basic.file_save import file_save
|
8
|
+
from podflow.basic.write_log import write_log
|
9
|
+
from podflow.youtube.get import youtube_rss_update
|
10
|
+
from podflow.basic.folder_build import folder_build
|
11
|
+
from podflow.bilibili.get import bilibili_rss_update
|
12
12
|
|
13
13
|
|
14
14
|
# 更新Youtube和哔哩哔哩频道xml多线程模块
|
Podflow/message/want_retry.py
CHANGED
Podflow/message/xml_item.py
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
#
|
1
|
+
# podflow/message/xml_item.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import os
|
5
5
|
import html
|
6
6
|
import hashlib
|
7
|
-
from
|
8
|
-
from
|
9
|
-
from
|
10
|
-
from
|
7
|
+
from podflow.message.title_correction import title_correction
|
8
|
+
from podflow.basic.time_format import time_format
|
9
|
+
from podflow.basic.get_duration import get_duration
|
10
|
+
from podflow import gVar
|
11
11
|
|
12
12
|
|
13
13
|
# 生成item模块
|
@@ -1,11 +1,11 @@
|
|
1
|
-
#
|
1
|
+
# podflow/message/xml_original_item.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import re
|
5
5
|
import html
|
6
6
|
import hashlib
|
7
|
-
from
|
8
|
-
from
|
7
|
+
from podflow import gVar
|
8
|
+
from podflow.message.title_correction import title_correction
|
9
9
|
|
10
10
|
|
11
11
|
# 生成原有的item模块
|
Podflow/message/xml_rss.py
CHANGED
Podflow/netscape/__init__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
#
|
1
|
+
# podflow/netscape/__init__.py
|
2
2
|
# coding: utf-8
|
Podflow/parse_arguments.py
CHANGED
Podflow/remove/__init__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
#
|
1
|
+
# podflow/remove/__init__.py
|
2
2
|
# coding: utf-8
|
Podflow/remove/remove_dir.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
#
|
1
|
+
# podflow/remove/remove_dir.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import os
|
5
5
|
import re
|
6
6
|
import shutil
|
7
|
-
from
|
8
|
-
from
|
7
|
+
from podflow import gVar
|
8
|
+
from podflow.basic.write_log import write_log
|
9
9
|
|
10
10
|
|
11
11
|
# 删除已抛弃的媒体文件夹模块
|
Podflow/remove/remove_file.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# podflow/remove/remove_file.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import os
|
5
|
-
from
|
6
|
-
from
|
5
|
+
from podflow import gVar
|
6
|
+
from podflow.basic.write_log import write_log
|
7
7
|
|
8
8
|
|
9
9
|
# 删除多余媒体文件模块
|
Podflow/repair/__init__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
#
|
1
|
+
# podflow/repair/__init__.py
|
2
2
|
# coding: utf-8
|
Podflow/repair/reverse_log.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
#
|
1
|
+
# podflow/repair/reverse_log.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import re
|
5
5
|
from itertools import islice
|
6
|
-
from
|
6
|
+
from podflow.basic.time_print import time_print
|
7
7
|
|
8
8
|
|
9
9
|
def reverse_log(filename):
|
Podflow/upload/__init__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
#
|
1
|
+
# podflow/upload/__init__.py
|
2
2
|
# coding: utf-8
|
Podflow/upload/add_upload.py
CHANGED
Podflow/upload/build_hash.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# podflow/upload/get_upload_original.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import re
|
@@ -6,10 +6,10 @@ import json
|
|
6
6
|
from datetime import datetime
|
7
7
|
from collections import Counter
|
8
8
|
from email.utils import parsedate_tz, mktime_tz
|
9
|
-
from
|
10
|
-
from
|
11
|
-
from
|
12
|
-
from
|
9
|
+
from podflow import gVar
|
10
|
+
from podflow.basic.file_save import file_save
|
11
|
+
from podflow.basic.write_log import write_log
|
12
|
+
from podflow.message.get_media_name import get_media_name
|
13
13
|
|
14
14
|
|
15
15
|
# 获取原始上传数据模块
|
Podflow/upload/linked_client.py
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
#
|
1
|
+
# podflow/upload/linked_client.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import os
|
5
5
|
import time
|
6
6
|
import socket
|
7
7
|
from datetime import datetime
|
8
|
-
from
|
9
|
-
from
|
10
|
-
from
|
8
|
+
from podflow import gVar
|
9
|
+
from podflow.upload.time_key import time_key
|
10
|
+
from podflow.basic.time_print import time_print
|
11
11
|
|
12
12
|
|
13
13
|
BROADCAST_PORT = 37001
|
Podflow/upload/linked_server.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
#
|
1
|
+
# podflow/upload/linked_server.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import socket
|
5
|
-
from
|
6
|
-
from
|
7
|
-
from
|
8
|
-
from
|
5
|
+
from podflow.basic.write_log import write_log
|
6
|
+
from podflow.basic.time_print import time_print
|
7
|
+
from podflow.httpfs.port_judge import port_judge
|
8
|
+
from podflow.upload.time_key import check_time_key
|
9
9
|
|
10
10
|
|
11
11
|
# 定义一个函数,用于判断端口是否可用
|
Podflow/upload/login.py
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
#
|
1
|
+
# podflow/upload/login.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import os
|
5
5
|
import json
|
6
6
|
import uuid
|
7
7
|
import hashlib
|
8
|
-
from
|
9
|
-
from
|
10
|
-
from
|
11
|
-
from
|
12
|
-
from
|
13
|
-
from
|
8
|
+
from podflow import gVar
|
9
|
+
from podflow.upload.time_key import time_key
|
10
|
+
from podflow.basic.file_save import file_save
|
11
|
+
from podflow.basic.write_log import write_log
|
12
|
+
from podflow.basic.time_print import time_print
|
13
|
+
from podflow.basic.http_client import http_client
|
14
14
|
|
15
15
|
|
16
16
|
def get_login():
|
Podflow/upload/time_key.py
CHANGED
Podflow/upload/update_upload.py
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
#
|
1
|
+
# podflow/upload/update_upload.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import re
|
5
5
|
import time
|
6
6
|
from email.utils import parsedate_tz, mktime_tz
|
7
|
-
from
|
8
|
-
from
|
9
|
-
from
|
7
|
+
from podflow import gVar
|
8
|
+
from podflow.basic.file_save import file_save
|
9
|
+
from podflow.message.get_media_name import get_media_name
|
10
10
|
|
11
11
|
|
12
12
|
# 更新并保存上传列表模块
|
Podflow/upload/upload_server.py
CHANGED
Podflow/youtube/__init__.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
#
|
1
|
+
# podflow/youtube/__init__.py
|
2
2
|
# coding: utf-8
|
Podflow/youtube/build.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# podflow/youtube/build.py
|
2
2
|
# coding: utf-8
|
3
3
|
|
4
4
|
import re
|
@@ -7,13 +7,13 @@ import threading
|
|
7
7
|
import contextlib
|
8
8
|
import xml.etree.ElementTree as ET
|
9
9
|
from datetime import datetime, timezone
|
10
|
-
from
|
11
|
-
from
|
12
|
-
from
|
13
|
-
from
|
14
|
-
from
|
15
|
-
from
|
16
|
-
from
|
10
|
+
from podflow import gVar
|
11
|
+
from podflow.message.xml_item import xml_item
|
12
|
+
from podflow.basic.time_print import time_print
|
13
|
+
from podflow.basic.http_client import http_client
|
14
|
+
from podflow.message.format_time import format_time
|
15
|
+
from podflow.basic.get_html_dict import get_html_dict
|
16
|
+
from podflow.message.xml_original_item import xml_original_item
|
17
17
|
|
18
18
|
|
19
19
|
# 获取YouTube频道简介模块
|