Update iptv-jd.py

This commit is contained in:
frxz751113
2024-08-10 21:09:41 +08:00
committed by GitHub
parent 7d50cbef2f
commit ebe0be7ad3
+1 -1
View File
@@ -1019,7 +1019,7 @@ for keyword in keywords:
while len(result_urls) == 0 and timeout_cnt <= 5: while len(result_urls) == 0 and timeout_cnt <= 5:
try: try:
search_url = 'https://fofa.info/result?qbase64=' search_url = 'https://fofa.info/result?qbase64='
search_txt = f'\"udpxy\" && country=\"CN\" && region=\"{province}\" && org=\"{org}\"' search_txt = f'\"udpxy\" && country=\"CN\" && region=\"{province}\"' # && org=\"{org}\"
# 将字符串编码为字节流 # 将字符串编码为字节流
bytes_string = search_txt.encode('utf-8') bytes_string = search_txt.encode('utf-8')
# 使用 base64 进行编码 # 使用 base64 进行编码