From 8f4c2b6241c28cd0b25b631c385c39ee21a6776a Mon Sep 17 00:00:00 2001 From: Feng4 Date: Sun, 27 Dec 2020 10:47:58 +0800 Subject: [PATCH] Update ADC_function.py --- ADC_function.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ADC_function.py b/ADC_function.py index 617f7e3..bf52378 100755 --- a/ADC_function.py +++ b/ADC_function.py @@ -1,6 +1,6 @@ import requests from lxml import etree - +import re import config SUPPORT_PROXY_TYPE = ("http", "socks5", "socks5h") @@ -469,7 +469,7 @@ def is_uncensored(number): if re.match('^\d{4,}', number) or re.match('n\d{4}', number) or 'HEYZO' in number.upper(): return True configs = config.Config().get_uncensored() - prefix_list = str(configs[0]).split('|') + prefix_list = str(configs).split(',') for pre in prefix_list: if pre.upper() in number.upper(): return True