add header for download

This commit is contained in:
2025-01-26 17:23:32 +08:00
parent 3df14930e4
commit 5737b297ad
2 changed files with 15 additions and 4 deletions

View File

@@ -5,14 +5,14 @@ from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.action_chains import ActionChains
import random
import time
#import random
#import time
from bs4 import BeautifulSoup
import os
import re
import html2text
import requests
import base64
#import base64
# 自定义 HTML 转换器类,继承自 html2text.HTML2Text
class CustomHTML2Text(html2text.HTML2Text):