1、将真实的cookie贴到解压后目录中cookie.txt文件里,修改python代码里的user_agent和video_path, cover_path等变量的值,最后运行python脚本即可;
2、运行之前根据import提示安装一些常见依赖,比如requests等;
3、2025年1月份最新版;
代码如下:
import json
import time
import requests
import os
import uuid
import datetime
import subprocess
import math
def get_file_content(file_path):
file_content = ''
with open(file_path, 'r') as file:
file_content = file.read()
return file_content.strip()
def get_auth_info(cookie_content, user_agent):
request_url = "https://channels.weixin.qq.com/cgi-bin/mmfinderassistant-bin/helper/helper_upload_params"
headers = {
'Origin': 'https: