diff --git a/sources/zh/piaotian.py b/sources/zh/piaotian.py index 772edf9b3..b42045f11 100644 --- a/sources/zh/piaotian.py +++ b/sources/zh/piaotian.py @@ -5,24 +5,10 @@ import urllib.parse headers = { - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0", - "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8," - "application/signed-exchange;v=b3;q=0.7", - "Accept-Encoding": "gzip, deflate, utf-8", - "Accept-Language": "en-US,en;q=0.9,de-CH;q=0.8,de;q=0.7", "Cache-Control": "no-cache", "Content-Type": "application/x-www-form-urlencoded", "Origin": "https://www.piaotia.com", - "DNT": "1", "Referer": "https://www.piaotia.com/modules/article/search.php", - "Connection": "keep-alive", - "Upgrade-Insecure-Requests": "1", - "Sec-Ch-Ua": '"Not_A Brand";v="8", "Chromium";v="120", "Opera GX";v="106"', - "Sec-Ch-Ua-Platform": "Windows", - "Sec-Fetch-Dest": "document", - "Sec-Fetch-Mode": "navigate", - "Sec-Fetch-Site": "same-origin", - "Sec-Fetch-User": "?1", } logger = logging.getLogger(__name__)