Update main.py

This commit is contained in:
Yu Steven authored and GitHub committed 2022-07-13 16:54:25 +08:00
1 parent 584aeec412
commit 36405c63d2
1 file changed
+1 -1
+1 -1
View File
@@ -7,7 +7,7 @@ import time
import yaml
import requests
headers = {'User-Agent': 'clash', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate, br', 'Connection': 'keep-alive'}
headers = {'User-Agent': 'ClashforWindows/0.19.23', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate, br', 'Connection': 'keep-alive'}
def fetch(proxy_list, filename):
current_date = time.strftime("%Y_%m_%d", time.localtime())