mirror of
https://github.com/taixingyiji/openit.git
synced 2026-10-20 09:27:41 +00:00
Update main.py
This commit is contained in:
1 parent
f72fb3e538
commit
5372975157
1 file changed
+1
-1
+1
-1
@@ -7,7 +7,7 @@ import time
|
|||||||
import yaml
|
import yaml
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
headers = {'User-Agent': 'ClashforWindows/0.19.23', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate, br', 'Connection': 'keep-alive'}
|
headers = {'User-Agent': 'Mozilla/5.0 (iPhone; CPU iPhone OS 15_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Mobile/15E148 Safari/604.1', 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate, br', 'Connection': 'keep-alive'}
|
||||||
|
|
||||||
def fetch(proxy_list, filename):
|
def fetch(proxy_list, filename):
|
||||||
current_date = time.strftime("%Y_%m_%d", time.localtime())
|
current_date = time.strftime("%Y_%m_%d", time.localtime())
|
||||||
|
|||||||
Reference in new issue
Block a user